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

SampleCSS variableValuePixels
--rounded-xs0.125rem2px
--rounded-sm0.25rem4px
--rounded-md0.375rem6px
--rounded-lg0.5rem8px
--rounded-xl0.75rem12px
--rounded-2xl1rem16px
--rounded-3xl1.5rem24px
--rounded-4xl2rem32px
--rounded-none00
--rounded-full9999px9999px
--rounded-base1rem16px

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.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.