Status
Status mark
A status mark is a small shape before a label that shows what kind of thing a row is and what state it is in, so a column of rows reads at a glance.
Designed, coming to kanso-ui
Variants and sizes
Shapes: k-mark--circle, k-mark--pill, k-mark--diamond, k-mark--square. Each product maps its own types to the four shapes and keeps that mapping everywhere. A product might use the circle for an event, the pill for a session, the diamond for a payment and the square for a task.
Sizes: the default (8 to 14 px) for rows and status lines; k-mark--lg for legends, keys and empty states.
States
| State | Class | Fill |
|---|---|---|
| Done | none | Filled ink |
| Next | is-next | Empty, with a 1.5 px ink outline |
| Late | is-late | caution |
| Now | is-now | accent |
Next is the only state the fill shows by itself (outlined, not filled). Done, late and now differ only in colour, so the label always says the state in words: "done", "late", "now".
Do and don’t
Do
Write the type first, then the state or the detail: "Event · late", "Task · Home".
Keep one mapping of types to shapes across a product.
Don’t
Invent a fifth shape or a new fill: add a word instead.
Use the
accentfill for anything but the one thing happening now.Drop the label in a dense list to save space.
What you provide
- The type, which the product maps to a shape.
- The state: done, next, late or now.
- The label: type, state and, when it helps, a time, list or amount ("Payment · 46.90").