layoutstexulinot agent-emittableapp
NavIcon
nav-icon
Renders a nav model icon by name or component.
Live examples
Home icon
Home icon
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
icon | unknown | yes | — | Icon name or component |
class | string | no | — | — |
label | string | no | — | — |
Keyboard
| Key | Action |
|---|---|
— | See accessibility notes for keyboard behavior. |
Accessibility
- Decorative by default; pass label when the icon is the only name.
Evidence for nav-icon
Latest committed gates for nav-icon (as of 2026-10-23). Static snapshot — not live CI.
Behavior
n/ano behavior scenario
No dedicated behavior scenario for this catalog id (a styled or display surface, covered by its unit and axe tests).
Size (gzip)
texuli/nav-icon · budget 12.0 KiB
Budget from texuli.budgets.json; re-measure with `pnpm size --filter <entry>`.
Axe
documented
tests/e2e/site-component-pages.spec.tsdocs/quality (a11y-*)
Site component pages axe gate; package-level a11y docs under docs/quality when present.
Browsers
chromiumwebkitmobile
Playwright projects: Desktop Chrome, Desktop Safari, Pixel 7. Firefox is a known gap on this host.
When to use
Use when
- Layout chrome needs a consistent nav icon
Don’t use when
Prefer another component
- Arbitrary illustration outside nav