Components
Each component lists the class or file that implements it on this site or in my career in general. The options named in the text, such as variant and pad, are the design system's vocabulary. Below every component you will find a link to the post where I explain it in detail and a live example of how it should behave.
Actions
Button
A native button for an action on the current page.
Link
A native link for a destination: another page, a file or a site.
Surfaces
Card
An article that is one target: a stretched link, or sibling controls.
Disclosure
A block that opens in place, under its control.
Modal Dialog
A native dialog that stops the page and waits for an answer.
Rule
A 3px ink line.
Slab
The offset slab: the system's one object.
Tooltip
An ink bubble: name only, never links.
Forms
Form
Native controls, one message for each field, focus where the problem is.
Quantity
A native number input between two buttons.
TextField
Label, hint, 2px edge, halo on focus.
Text
Blockquote
Serif italic with a 2px accent rule.
Code Block
Ink block, paper text, copy button.
Heading
Six levels of heading
InlineCode
Code in a sentence
Kbd
A key cap.
Label
Mono micro-label, 13px capitals in dark lilac.
Underline
The yellow highlighter band behind ink text.
Content
Chip
A pill: a link, or a plain tag.
Chip List
A wrapping list of chips.
Hotspot
Markers on an image that open a link card.
Post Item
A numbered blog entry. Wrap entries in PostList.
Navigation
Language Switcher
A listbox of locales: English, Español, Italiano.
Site Footer
Site Header
Name, navigation, language switcher on a 3px rule.
Skip to Main Content
Hidden until it gets focus.
Table of Contents
Numbered contents.
Tabs
Peer views of one thing, shown in place.
Iconography
Indicators
Meter
A native meter for a measurement inside a known range.
Progress
A native progress for work that will finish.
Media
Video control button
A 44 × 44 native button with an icon, for the bar of a player.
Video player
A custom player on the native video and audio tags.