Radius
Corner radii grow with the size of the thing they round: small for a checkbox, larger for a card, full for a pill.
Scale
| Sample | CSS variable | Value | Pixels |
|---|---|---|---|
--rounded-xs | 0.125rem | 2px | |
--rounded-sm | 0.25rem | 4px | |
--rounded-md | 0.375rem | 6px | |
--rounded-lg | 0.5rem | 8px | |
--rounded-xl | 0.75rem | 12px | |
--rounded-2xl | 1rem | 16px | |
--rounded-3xl | 1.5rem | 24px | |
--rounded-4xl | 2rem | 32px | |
--rounded-none | 0 | 0 | |
--rounded-full | 9999px | 9999px | |
--rounded-base | 1rem | 16px |
Usage
ARK components already carry the right radius. On an element of your own, use Tailwind's class of the same name, such as rounded-lg.