displaytexulinot agent-emittableapp
Chip
chip
A toggleable filter chip (pressed state).
Live examples
Selected chip
Selected chip
Loading demo…
Props
| Name | Kind | Required | Default | Description |
|---|---|---|---|---|
label | string | yes | — | — |
variant | enum (default, secondary, outline, success, warning, destructive, info, neutral) | no | "outline" | — |
selected | boolean | no | false | — |
disabled | boolean | no | false | — |
type | enum (button, submit, reset) | no | "button" | — |
class | string | no | — | — |
Keyboard
| Key | Action |
|---|---|
a | Uses aria-pressed for selection; must be a real button. |
Accessibility
- Uses aria-pressed for selection; must be a real button.
Evidence for chip
Latest committed gates for chip (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/chip · 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
- Filter toggles in a toolbar or facet list
Don’t use when
Prefer another component
- Navigation (use a link)
- A one-shot action (use button)