Rhythm and roundness.
Two scales govern the shape of a layout. Space sets the rhythm and forks by density, so a Compact table tightens without a single component rebinding. Radius sets the roundness and routes through the brand tier, because how round a corner is is a house decision, not a product one.
Space
Ten steps, used for padding and gaps alike. The scale forks by density. Every value below is listed in both Comfortable and Compact, and a component gets the right one from the mode on its container. Density is the reason spacing is a token rather than a number.
td.space.2xsSpacing 2xs - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 4pxCompact 4pxtd.space.xsSpacing xs - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 8pxCompact 8pxtd.space.smSpacing sm - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 12pxCompact 12pxtd.space.mdSpacing md - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 16pxCompact 16pxtd.space.lgSpacing lg - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 20pxCompact 20pxtd.space.xlSpacing xl - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 24pxCompact 24pxtd.space.2xlSpacing 2xl - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 32pxCompact 32pxtd.space.3xlSpacing 3xl - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 40pxCompact 40pxtd.space.4xlSpacing 4xl - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 48pxCompact 48pxtd.space.5xlSpacing 5xl - gaps and padding. Forks by density (Comfortable/Compact), not brand.Comfortable 56pxCompact 56px
Radius
Nine steps, from a square corner to a fully round one. Unlike space, radius resolves through the brand tier, so the two houses can differ in how soft they feel without any component knowing.
td.radius.noneCorner radius none.0pxtd.radius.2xsCorner radius 2xs.4pxtd.radius.xsCorner radius xs.8pxtd.radius.smCorner radius sm.12pxtd.radius.mdCorner radius md.16pxtd.radius.lgCorner radius lg.20pxtd.radius.xlCorner radius xl.24pxtd.radius.2xlCorner radius 2xl.32pxtd.radius.roundCorner radius round.9999px