Icons
The icon set, and how a site picks the icons it uses.
-
Accessibility
- Decorative icons (next to a text label): mark aria-hidden="true" so they aren't announced twice. - Icon-only controls: give the button an aria-label describing the action. - Never colour alone: pair a status icon with text or an
- Iconoir set
-
In components
Because icons inherit colour, they drop straight into buttons, badges, alerts, inputs, and lists.
- Lucide set
-
Sizing & colour
Size with .ico--sm/lg/xl or any font-size. Colour follows text colour, so semantic colours come from the surrounding element.
-
Usage
Add the .ico mask utility plus a named class from icon-sets.css (lu- for Lucide, io- for Iconoir).