Indigo is the default primary action. Green is the single spark, used at most once per view for the most important action, and always with dark ink.
<Button>Save changes</Button>
<Button variant="secondary">Cancel</Button>
<Button variant="ghost">Learn more</Button>
<Button variant="accent">Start free trial</Button>
<Button size="sm">Small</Button>
<Button loading>Saving</Button>
<Button disabled>Disabled</Button>| Prop | Type | Description |
|---|---|---|
| variant | 'primary' | 'secondary' | 'ghost' | 'accent' | Primary is indigo, secondary is an outline, ghost is text-only, accent is the green spark. |
| size | 'sm' | 'md' | 'lg' | Control height. Medium by default. |
| loading | boolean | Swaps the label for a three-dot pulse at a fixed width. |
| disabled | boolean | Inactive, non-interactive. |