Components · Actions
Button
A physical push button. One or two words, sentence case. One primary per view; the default ring marks what Return does.
jsx
import { Button } from '@andeus/ui';
Variants
Default ring
Sizes and icons
Props
| Prop | Type | Default | |
|---|---|---|---|
| variant | 'primary' | 'secondary' | 'ink' | 'ghost' | 'secondary' | Visual weight. |
| size | 's' | 'm' | 'l' | 'm' | Height 28 / 36 / 44. |
| isDefault | boolean | false | Draws the default-button ring. |
| round | boolean | false | Circular key. |
| icon | IconName | — | Icon before the label. |
| iconRight | IconName | — | Icon after the label. |
| fullWidth | boolean | false | Stretch to container. |
| disabled | boolean | false | |
| type | 'button' | 'submit' | 'reset' | 'button' | |
| onClick | (e: React.MouseEvent) => void | — | |
| children | ReactNode | — | Label. |