Component
Primary action component. 6 variants, 10 sizes, icon support and interactive states.
xs
h-6 · 24px
sm
h-7 · 28px
default
h-8 · 32px
lg
h-9 · 36px
xl
h-11 · 44px
icon-xs
24px
icon-sm
28px
icon
32px
icon-lg
36px
icon-xl
44px
13 semantic tokens consumed by this component.
--primaryPrimary--primary-foregroundPrimary Foreground--secondarySecondary--secondary-foregroundSecondary Foreground--destructiveDestructive--destructive-foregroundDestructive Foreground--backgroundBackground--accentAccent--accent-foregroundAccent Foreground--muted-foregroundMuted Foreground--borderBorder--inputInput--ringRing