--- name: iconography description: Icon systems — sizing, weight matching, colour inheritance, hit areas, SVG accessibility, and avatar patterns. Use when selecting, sizing, colouring or aligning icons, building icon-only controls, choosing a family or weight, or working on avatars, initials and empty-state illustration — anything where an SVG sits next to or instead of text. metadata: version: "15.0.0" core-deps: - core/design-tokens.md - core/accessibility-baseline.md --- # Iconography ## When to Use Selecting, sizing, colouring or aligning icons; building icon-only controls; choosing an icon family or weight; avatar and initials patterns; empty-state illustration. Anything where an SVG sits next to or instead of text. ## Stack React 19 · TypeScript strict · Tailwind v4 · Lucide (default) · Phosphor where weight variants are needed ## Core Rules 1. **Icons are typographic.** Size in `em` so they scale with their text: `1em` inline, `1.25em` beside a button label, `1.5em` standalone. Fixed px inside a paragraph breaks at every other type scale. 2. **The hit area is not the icon.** An 18px glyph belongs inside a 44×44px target. Icon size and touch target are independent decisions. 3. **Match icon weight to text weight.** Bold label with a thin icon reads as a rendering bug. One weight per surface. 4. **`fill`/`duotone` are state, not default** — filled for the active nav item, regular for the rest. A shape change survives WCAG 1.4.1 where a colour change does not. 5. **Inherit colour via `currentColor`** unless the icon carries independent meaning; then pair it with text or shape. 6. **Label the control, hide the glyph.** Icon-only button: `aria-label` on the `