Content
Badge
A small pill of words that states a status or a count, such as "Done" or "1 h 32 late"; people read it, they do not press it.
In kanso-ui as Badge
Live in kanso-ui
Badge 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.
Late
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
- To say where a row or a card stands: an item done or late, money over budget, a save that failed.
- To count what waits: 3 tasks left.
- To tag a plain attribute: "Before bed".
Use Chip or Button for anything pressed, StatusMark for the type of an item in the timeline, InlineAlert for a full sentence, and the now line's own k-now__label for now in the timeline.