Skip to content

Foundations

Radius

Seven steps, and each one maps to a role. Radius is what makes a system feel consistent — a stray 10px corner is more noticeable than a wrong colour.

Scale

radius.xs4px
radius.sm6px
radius.md8px
radius.lg12px
radius.xl16px
radius.2xl22px
radius.full9999px

Applications

Radius follows role, not taste. These are the only pairings you should need.

radius.sm — small controls

Tag

radius.md — default controls

radius.lg / xl — surfaces

Panels and cards use 12px. Dialogs lift to 16px because they float furthest from the canvas.

Reference

Radius tokens
TokenValueUtilityUse for
radius.xs4pxrounded-xsInline code, tiny chips
radius.sm6pxrounded-smSmall controls, kbd, tags
radius.md8pxrounded-mdDefault control radius
radius.lg12pxrounded-lgCards, panels
radius.xl16pxrounded-xlDialogs, hero surfaces
radius.2xl22pxrounded-2xlSpecial showcase surfaces only
radius.full9999pxrounded-fullDots, avatars, switch track

Rules

Do

  • Match a control's radius to its size.
  • Nest surfaces with an inherit radius and one step of padding.
  • Keep the switch track and its thumb fully round.

Don't

  • Default to pill-shaped buttons — they read as consumer, not analytical.
  • Mix two radii inside one component group.
  • Use rounded-none for “technical” unless the surface is a table edge.
Luc UI v1.0Radiusdark theme