Content
Divider
A divider is the 1px hairline that separates content on paper, and its accented form, the now line, marks the current time inside the timeline.
In kanso-ui as Separator
Live in kanso-ui
Separator 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.
Morning check-in
Weekly review
Evening call
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
- Rows in a list draw their own hairline (
.k-item + .k-item); don't add a divider between rows. - Use
k-dividerbetween two groups inside one block, such as the parts of a total and its result. - Use the now line once, in the timeline, between the last entry before now and the first one after it.
- Don't use a divider to draw a box (use Card) or in place of space between sections (use
space-xland a section title).