Navigation
Tabs
Tabs switch between views of one thing without leaving the page, such as the payments, members and settings of a project.
In kanso-ui as Tabs
Live in kanso-ui
Tabs 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.
Payments
Members
Settings
Four payments this month.
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
- Use for 2 to 5 views of the same object, at the same level, that people move between freely.
- Don't use for top-level destinations: use NavigationBar on phones and NavigationPane on the web.
- Don't use to filter a list or pick a value: use a segmented control (
k-seg) or chips (k-chip). Don't use for steps that must happen in order.