Content
Spotlight card
The spotlight card holds the one thing that needs the person now, such as a late task, with the actions that resolve it; a screen never has more than one.
Designed, coming to kanso-ui
Variants and sizes
The card has one form; its content follows the item, and the badge is left out when the item is on time. The main action is k-btn--on-spot k-btn--xl k-btn--block; the other two are k-btn--on-spot-tonal and k-btn--on-spot-outline.
Dark theme: spotlight is not accent. The dark accent turns light so it reads on night paper, and white type on it would fall to 2.1:1. spotlight stays a deep indigo instead, so on-spotlight holds 9.4:1 and the card keeps its weight in both themes.
States
- Late: the badge says it in words, "1 h 32 late"; its fill and icon are extra.
- Buttons: hover and pressed lay the label colour over the button at
state-hoverandstate-pressed, and pressed scales to 0.98. Focus is a 2pxon-spotlightring, 2px outside the button. - Resolved: the next item replaces this one and the eyebrow reads "Now · 1 of 2". Don't disable an action; leave out one that does not apply.
Do and don’t
Do
Keep one spotlight per screen, at the top.
Count the queue in the eyebrow: "Now · 1 of 3".
Name the outcome on the main action: "Mark as done", not "OK".
Say how late in words.
Don’t
Show two spotlights, or one with nothing urgent in it.
Add a fourth action; more choices belong in the item's detail.
Paint the card with
accent.
What you provide
- The queue position and length ("1 of 3"), and how late, or nothing when on time ("1 h 32 late").
- The lead icon name (
checklist), the title ("Weekly review") and the meta line ("Task · was due at 13:00"). - The main action and up to two more, each with its label and handler.