Components
The kit's components in their real states, and how each one answers a press, a hover or a focus.
22 items
Actions
- ButtoncontrolsA press answers at once by settling slightly smaller — felt more than watched. Arrows nudge forward on hover. A disabled button does neither.
- Search buttoncontrolsA quiet button that ends with the shortcut it answers to. It presses like Button; the shortcut chip is the Kbd component.
- Chip and choice chipscontrolsThe one rounded element: a candidate someone can pick. Choosing turns it spark-tinted; a disabled chip stays still.
- Segmented controlcontrolsThe background slides to the option you choose instead of cutting to it, so you see where you were and where you went.
Links and cards
Forms
- Text fieldcontrolsA square input with a spark border and ring on focus. A hint says what it takes; an error says what to do, in words as well as the red border.
- Textarea and selectcontrolsMulti-line text takes the body face because it holds prose. The select is the browser’s own, restyled, so it keeps native keyboard and touch behaviour.
- TogglecontrolsA rounded switch: dark with the knob right when on, light with it left when off. The knob crosses on the spring curve — the one place in the system that overshoots — while the track follows in a straight line.
- Checkbox and radiocontrolsSquare one-pixel boxes. A spark check or a filled square marks the choice, and the label is part of the target.
Feedback
- Banner and calloutcontrolsInline notices. A banner leads with a spark rule; a callout takes a tone — info, warning or success — and says it in words.
- ToastcontrolsA short notice that floats over the page, so it is the one surface allowed a shadow; cards have none. The design system page animates it in and out; the component itself is still.
- Empty statecontrolsA dashed frame, a hatched slot and one next step. It says what is missing and offers the way to fill it.
- TooltipcontrolsA quiet label that rises above its trigger on hover. It is hover-only, so keep anything a keyboard or touch user needs out of it.
- DialogcontrolsAn overlay with a centred panel. Open it here to see it above this page; it closes from the backdrop, the × or the footer button.
Content
- BadgecontrolsA square status tag in the label face. Spark is for the one thing that needs seeing; outline and neutral stay quiet.
- Text blockcontrolsThree emphases of running text: body, lede and quote. The quote takes the voice face and a spark rule.
- Eyebrow and rail numbercontrolsThe small labels that start a section: an eyebrow names it, and a rail number places it in the sequence.
- SkeletoncontrolsA shimmering line standing in for text on its way. It only hints at the shape and carries no meaning of its own, so it is hidden from assistive technology.
Data
- Data tableHairline rows, a label header and numbers aligned right, so they can be compared down the column.
- Stat and metriccontrolsA stat is one proof number beside a spark rule; a metric is the same idea in a bordered tile with a caption.
- Figure slotcontrolsA hatched 16:9 placeholder for a figure that has not arrived. The caption says what belongs there.