Selection
Chip
A small outlined pill that narrows a list, offers a related shortcut or holds a value someone typed: filter, assist and input chips.
In kanso-ui as Chip
Live in kanso-ui
Chip from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
Show
Home
Work
Due today
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- Filter chips narrow a list, and several can be on at once: tasks by "Home", "Work" and "Due today".
- Assist chips offer a shortcut that follows from what is on screen: "Share with Ada" after a payment, "Add to calendar" on a task.
- Input chips show what someone typed, such as search terms, each with its own remove button.
Use SegmentedControl when exactly one option applies, Button for a screen's main action, and Badge for a status nobody presses.