Button
A clickable button with multiple variants, sizes, and colors.
Default
Variants
Colors
Sizes
Disabled
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "solid" | "outline" | "ghost" | "link" | "solid" | The visual style of the button. |
| size | "sm" | "md" | "lg" | "md" | The size of the button. |
| color | "primary" | "neutral" | "danger" | "success" | "warning" | "primary" | The color scheme. |
| fullWidth | boolean | false | Whether the button takes full width. |
| isDisabled | boolean | false | Whether the button is disabled. |
| className | string | — | Additional CSS classes. |