Layout tokens
How a card gets its edge, its fill and its padding, and the class strings the kit shares between overlays and titles.
Cards
A Card draws the edge, the radius and the fill, and has no padding. Each part inside it pads itself, 16px at each side, so a hairline under a row runs to the card's edge.
On a card
A card built from its parts, with each part's padding marked.
Sign out of any you do not know.
All parts
Every part that pads itself, including the ones this card does not use.
Variants
variant picks the surface. featured is a separate switch that adds an accent ring to any of them. Keep a muted card to plain content.
Weekly steps
Goal: 50,000 steps
variant="default"
Card fill and a ring for its edge
Weekly steps
Goal: 50,000 steps
variant="dotgrid"
A faint dot grid, for staging live UI
Weekly steps
Goal: 50,000 steps
variant="muted"
A quiet fill, no ring or shadow
Weekly steps
Goal: 50,000 steps
featured
The recommended one in a set
One surface per box
A Card is already a surface, so nothing inside it paints a second one. A Table never goes inside a Card, even with surface="bare". Data in a card uses CardTableHeader and CardRows.
Usage
blurredOverlayClass
The backdrop behind Dialog, AlertDialog, Drawer and Sheet. It blurs the page with a light dim. Without backdrop-filter support or under reduced transparency the dim becomes 70% black, and 85% under high contrast.
truncatedTitleClass
A one-line title that ends in an ellipsis. A cap-trimmed box ends at the baseline, so truncate would cut every descender. This clips sideways only.