UI Primitives
Button
Primary clickable button with 6 variants (default, destructive, outline, secondary, ghost, link) and 4 sizes.
Preview
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "default" | Visual style variant |
| size | "default" | "sm" | "lg" | "icon" | "default" | Button size |
| asChild | boolean | false | Render as child element using Radix Slot |