FoundationsRadiusBest Practices

Best Practices

Radius tokens are identified by the prefix $radius, followed by numeric suffixes in a crescent order. The only exception is the most curved value which the suffix is full.

Radius

Usage

The radius used in a element is related to its size and placement.

TokenUsage
$radius-0Page components (Header and Content) and Admin Navigation components (Topbar and Sidebar)
$radius-1Checkboxes and Buttons inside inputs
$radius-2Buttons, Inputs, Filters, Alerts, Toasts, Cards, and Popovers
$radius-3Modals
$radius-fullTags and Avatars