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
Variants and sizes
k-divider, on an<hr>: the standalone hairline.- Row hairline: the top border that every
k-itemafter the first draws, inset with the list ink-list--inset. k-now: the now line, an item of thek-listthat stands in for the hairline between two rows.
States
Dividers are static. The now line moves with the clock: its label updates once a minute, and when an entry's time passes the line moves below that entry. It steps without animation.
Do and don’t
Do
Let rows draw their own hairlines.
Put the now line between the last past entry and the next one, with the time in its label.
Keep one now line per list.
Don’t
Add a divider on top of a row's hairline.
Use the accent for any other line.
Use a divider as the edge of a control.
What you provide
- For the hairline: where it goes.
- For the now line: the current time, written "14:32", and its place in the list.