Command Palette

Search for a command to run...

Foundations

Size

Sizing for icons, avatars and other fixed-dimension elements.

Spacer scale

Nimbus doesn't ship a dedicated element-sizing token set today. The closest existing scale is size.spacer from cc-design-tokens, used for padding, margin and gaps rather than fixed element sizes.

--size-spacer-xxs
$size-spacer-xxs
3px
--size-spacer-xs
$size-spacer-xs
5px
--size-spacer-sm
$size-spacer-sm
10px
--size-spacer-md
$size-spacer-md
15px
--size-spacer-lg
$size-spacer-lg
20px
--size-spacer-xl
$size-spacer-xl
30px
--size-spacer-xxl
$size-spacer-xxl
40px

Proposed 4pt sizing scale

Proposed — not a shipped token
The spacer scale above isn't 4pt-aligned and has no steps under 16px, which makes it a poor fit for icon and avatar sizing. Nothing below is in cc-design-tokens yet — it's a draft for review. If approved, it would ship as a new size.element token group.
4px
8px
12px
16px
20px
24px
32px
40px
48px
56px
64px