Icons — Options

One library (Lucide), consistent stroke by construction. The question is the size set and the accessibility rule.

The size set (rendered)
14px (3.5)dense rows, small-button icons
16px (4)DEFAULT — inline, buttons (Button enforces size-4)
20px (5)standalone, nav, empty-state accents
Icon-only controls (a11y rule, rendered)
✓ aria-label="Dismiss"
✓ sr-only text — equally valid
✗ no accessible name — violation
Show audit of the app before this rule
Audit — what we have today
  • ✓ ONE library: lucide-react (63 imports, zero others)
  • ✓ Consistent stroke (Lucide 2px by construction)
  • ✓ Sizes already converge: 16px ×42, 14px ×12, 20px ×9
  • ✓ Button base enforces svg size-4 automatically
  • ✓ All 3 icon-only buttons have aria-label / sr-only — zero violations
  • ✓ Only 2 inline SVGs: LinkedIn brand mark (Lucide has no brand icons — legit) + decorative grid pattern (aria-hidden territory)
  • ✗ No written rule — today's cleanliness is luck, not law
Option A — Codify current practice ✓ CHOSEN

Lucide only + size table (14/16/20) + accessible-name rule.

  • • Audit shows practice is already right — write it down
  • • Zero churn
  • • Brand-mark SVG exception documented
Option B — Icon wrapper component

<Icon name size> abstraction over Lucide.

  • • Central control of sizes
  • • 63 import sites to convert; loses tree-shaken direct imports
  • • Solves a problem the audit says we don't have
Option C — Custom icon set

Bespoke brand iconography on a 24px grid.

  • • Maximum brand distinction
  • • Design + maintenance cost of hundreds of glyphs
  • • Not a lever for a solo-operator SaaS
Show research sources
Decision: Option A
  • 1. The audit found zero violations — one library, converged sizes, accessible names everywhere. The only risk was having no written rule; now there is one.
  • 2. B rejected: an Icon wrapper converts 63 import sites to solve a consistency problem that doesn't exist, and hurts tree-shaking.
  • 3. C rejected: custom iconography is a brand luxury for a later stage.
  • Applied at adoption: icons-system.md written (Lucide-only, 14/16/20 size table, accessible-name rule, brand-mark SVG exception). No code changes.