Skip to main content
Every key a style block accepts. The set is closed, so an unknown key is ignored by every renderer and is always a typo or a web-ism that would not port. Each entry names the CSS property it maps to, for when you know the CSS name and not ours.
Generated from definition-1.2.schema.json and the token files, so it cannot fall behind what ships.

Size

How wide the element is.
CSS width · takes a scale step, or auto / full
How tall the element is.
CSS height · takes a scale step, or auto / full
An upper bound on width. A page-level cap uses a name; an element’s own size stays a step.
CSS max-width · takes a scale step, or a page-width name, or auto / full
A lower bound on width.
CSS min-width · takes a scale step, or auto / full
A lower bound on height.
CSS min-height · takes a scale step, or auto / full
An upper bound on height.
CSS max-height · takes a scale step, or auto / full
How this child shares the space its parent has left.
CSS flex

Spacing

Space inside the element.
CSS padding · takes a scale step, or auto / full
Space outside the element.
CSS margin · takes a scale step, or auto / full
Space between children.
CSS gap · takes a scale step, or auto / full

Layout

What happens to content larger than the box.
CSS overflow
How the element is placed against its parent.
CSS position
All four offsets at once. 0 is the usual overlay.
CSS inset · takes a scale step, or auto / full
Offset from the top, when positioned.
CSS top · takes a scale step, or auto / full
Offset from the right, when positioned.
CSS right · takes a scale step, or auto / full
Offset from the bottom, when positioned.
CSS bottom · takes a scale step, or auto / full
Offset from the left, when positioned.
CSS left · takes a scale step, or auto / full
Which of two overlapping elements draws on top.
CSS z-index
Whether children run in a row or a column.
CSS flex-direction
Whether children wrap onto another line.
CSS flex-wrap
Alignment across the direction children run in.
CSS align-items
Alignment along the direction children run in.
CSS justify-content
Whether the element takes part in layout at all.
CSS display

Grid

Turns the element into a grid of this many columns.
CSS grid-template-columns
How many of the parent grid’s columns this child covers.
CSS grid-column
The width at which a grid gives up and stacks. Measures the grid, never the viewport.
CSS @container · takes a scale step, or a page-width name, or auto / full

Container

Makes this element the thing its children measure themselves against.
CSS container-type
Hide once the container is narrower than this.
CSS @container · takes a scale step, or a page-width name, or auto / full
Hide once the container is wider than this.
CSS @container · takes a scale step, or a page-width name, or auto / full

Surface

Background colour.
CSS background · takes a color token name
A radial gradient background.
CSS radial-gradient()
All four borders.
CSS border
The top border alone.
CSS border-top
The right border alone.
CSS border-right
The bottom border alone.
CSS border-bottom
The left border alone.
CSS border-left
A ring drawn outside the border, usually for focus.
CSS outline
Drop shadow.
CSS box-shadow · takes a shadow token name
Corner rounding on all four corners.
CSS border-radius · takes a radius token name
One corner’s rounding.
CSS border-top-left-radius · takes a radius token name
One corner’s rounding.
CSS border-top-right-radius · takes a radius token name
One corner’s rounding.
CSS border-bottom-left-radius · takes a radius token name
One corner’s rounding.
CSS border-bottom-right-radius · takes a radius token name

Type

A text style, such as headline.lg.
CSS font / font-size · takes a text token name
Font weight.
CSS font-weight
Line height.
CSS line-height · takes a lineHeight token name
Text colour.
CSS color · takes a color token name
Text alignment within its box.
CSS text-align

Media

How an image fills its box.
CSS object-fit

Motion

A visual transform, such as a scale or a nudge.
CSS transform
Which property changes are animated, and how fast.
CSS transition
A named keyframe animation from semantic/keyframes.yaml.
CSS animation
How long to wait before the animation starts.
CSS animation-delay
The pointer shown on hover.
CSS cursor

Conditional

A patch of styles applied while the pointer is over the element.
CSS :hover
A patch applied while the element is being pressed.
CSS :active
A patch applied while the element is disabled.
CSS :disabled
A list of conditions, each applying its own style patch when it matches.
CSS (conditional)

Next steps

Scales

Every value these keys accept, with what it resolves to.

Styles and tokens

Where the values come from, and how a rebrand works.