Button
Versatile button with variants, sizes, and states.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | - | Button label text |
| variant | 'ghost' | 'outline' | 'solid' | 'solid' | Visual style |
| color | 'default' | 'warning' | 'primary' | 'default' | Color theme |
| size | 'small' | 'medium' | 'large' | 'medium' | Button size |
| disabled | boolean | false | Disable interactions |
| loading | boolean | false | Show loading spinner |
| icon | string | - | Icon name |
| onClick | function | - | Click handler |