Component
Button
Primary action control with variants and sizes.
Installation
import { Button } from "atroui"Usage
Prefer one primary button per view.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'outline' | 'secondary' | 'ghost' | 'destructive' | 'link' | 'default' | Visual style. |
| size | 'default' | 'xs' | 'sm' | 'lg' | 'icon' | … | 'default' | Control size. |
| disabled | boolean | false | Disables the button. |