Search

Find a component, token or page

Base ยท Foundations

Shape

Corner radii are multiples of one base radius, so a single change rounds or squares the whole system.

Radii

PreviewTokenValueActions
radius.none
--pdc-radius-none
0px
radius.xs
--pdc-radius-xs
4px
radius.sm
--pdc-radius-sm
6px
radius.md
--pdc-radius-md
8px
radius.lg
--pdc-radius-lg
10px
radius.xl
--pdc-radius-xl
14px
radius.2xl
--pdc-radius-2xl
18px
radius.3xl
--pdc-radius-3xl
22px
radius.4xl
--pdc-radius-4xl
26px
radius.full
--pdc-radius-full
9999px

Border widths

PreviewTokenValueActions
border-width.0
--pdc-border-width-0
0px
border-width.1
--pdc-border-width-1
1px
border-width.2
--pdc-border-width-2
2px
border-width.4
--pdc-border-width-4
4px
border-width.focus
--pdc-border-width-focus
3px

Component shape

Per-component hooks. A client workspace can change one of these without touching the scale.

PreviewTokenValueActions
component.button.radius
--pdc-component-button-radius
10px
component.input.radius
--pdc-component-input-radius
10px
component.card.radius
--pdc-component-card-radius
14px
component.badge.radius
--pdc-component-badge-radius
9999px
ยท
component.focus.halo
--pdc-component-focus-halo
3px