Tag Input
A token field: a text input paired with a list of removable tags. Type a value and press Enter to add a tag, click a tag's × to remove it, or press Backspace in the empty field to remove the last one. Each tag is a list item with a named remove button, so the token set is fully reachable by keyboard and assistive technology.
- Axe
- Focus
Preview
- Design
- Urgent
Installation
npx shadcn@latest add https://ui.publictheta.com/r/tags-input.jsonConformance
Verified against the @publictheta/ui-spec tags-input specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.