Component
Button
Full-width primary action with four variants. Renders a native button element.
jsx
<Button variant="primary">Primary</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
<Button variant="destructive">Destructive</Button>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children
|
ReactNode | — | Button label / content. |
variant
|
'primary' \ | 'secondary' \ | 'outline' \ |
onClick
|
() => void | — | Tap handler. |
className
|
string | '' | Extra classes, merged onto the button. |