Pilipinas Interface

Foundation

  • Overview
  • Get Started
  • Colors
  • Typography
  • Icons
  • Layout & Spacing
  • States & Feedback
  • Motion & Transitions
  • Expressions

Components

  • Overview
  • Accordion
  • Alert
  • Avatar
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Code Block
  • Combobox
  • Command Menu
  • Dialog
  • Popover
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Skeleton
  • Switch
  • Table
  • Tabs
  • Text Field
  • Tooltip

Resources

  • Registry

Foundation

Icons

One icon set behind a role-based slot map. Components ask for a role, never a glyph, and the provider at the root decides what paints it.

How it works

A component reads useIcons() and looks up a slot such as icons["arrow-right"]. Slot names describe the role the icon plays, not the shape of the drawing. Replacing the map on IconProvider at the root changes every component at once; no component source is edited.

The default set draws on a 24px grid with a 1.5px stroke. Components scale the glyph with their own size step: 16px at default, 14px at compact. The gallery below renders every slot at 16, 24 or 32px: 16 matches controls and dense rows, 24 is the baseline, and 32 suits a standalone icon. A 44px minimum belongs to the touch target of the control, not the glyph. Decorative icons are hidden from assistive technology; an icon-only control still needs an accessible name from its label.

Slot map

Search by slot name, then click a tile to copy the expression a component would use. The gallery reads the active provider, so it always shows the icons this site renders.

Glyph sizeSize

71 slots

Related

Icon slots are consumed by controls such as Button, Badge and Banner. Their sizes follow the shared size context; see Typography for the type roles those controls pair with.

← PreviousTypographyNext →Layout & Spacing