Patterns
Filter chip
Outlined pill filters with selected state and an optional count.
Selected: All apps
Interactive local example · fictional data
The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.
API reference
| Prop | Type | Default |
|---|---|---|
| active | boolean | false |
| count | number | — |
| onClick | () => void | — |
Primitives also accept their underlying HTML or Radix props. Full types are included with the package.
Behavior & accessibility
- The active state is exposed through aria-pressed.
Reference
Connected Apps category filter