Design · Prizma Design Foundations

Shape

Corner radius defines the personality of UI surfaces — from sharp precision to fully rounded pills. Always use semantic names like small or medium, not raw pixel values.

Progression

nonex-smallsmallmediumlargex-largexx-largefull

The scale moves from no rounding (none) through functional steps (x-small → large) to decorative (xx-large) and full pill (full). Each step has a designated role — mixing steps within a component breaks visual logic.

Token names, not pixels

Never write border-radius: 12px in component code. Reference the semantic token — it survives theming and global radius updates.

Nested radius rule

An inner element's radius should be: outer-radius − padding. A card with medium (16px) and 8px padding → inner radius ≈ small (8px).

Full is intentional

Use full (9999px) only where circular form carries semantic meaning — avatars, icon buttons, pill badges, toggle tracks.

Step context

Controls

Interactive elements — inputs, buttons, selects, list items. Steps: none, x-small, small.

Containers

Surfaces that wrap content — cards, panels, modals, sheets. Steps: medium, large, x-large.

Decorative

Art-directed surfaces and circular elements. Steps: xx-large, full.

noneBorder.Radius.none0px--border-radius-none
x-smallBorder.Radius.x-small4px--border-radius-x-small
smallBorder.Radius.small8px--border-radius-small
mediumBorder.Radius.medium16px--border-radius-medium
largeBorder.Radius.large24px--border-radius-large
x-largeBorder.Radius.x-large40px--border-radius-x-large
xx-largeBorder.Radius.xx-large64px--border-radius-xx-large
fullBorder.Radius.full9999px--border-radius-full
none0pxReserved for structural elements that span full width — dividers, progress fills, full-bleed images. No rounding.DividersProgress barsFull-bleed images
x-small4pxKeeps elements sharp and precise. Best for dense inline elements where rounding would consume too much visual space.ChipsTagsBadges
small8pxThe default for interactive controls. Inputs, buttons, and selects all use this step.InputsDropdownsButtonsList items
medium16pxThe default for containers — cards, sheets, and informational panels.CardsPanelsDialogsDrawers
large24pxFor emphasis. Modal dialogs, bottom sheets, and featured content areas.ModalsBottom sheetsFeatured cards
x-large40pxRare. Used for hero-level surfaces that need strong visual distinction.Hero cardsLarge overlays
xx-large64pxDecorative only. Avoid for functional UI.Decorative surfaces
full9999pxA fully rounded pill. Avatars, icon buttons, toggle tracks, and pill-style badges.AvatarsIcon buttonsPill badgesToggles
Was this page helpful?