Button
Triggers an action or event
Usage
The Button component streamlines styling with design tokens and an intuitive API for responsive interfaces.
Sizes
Use the size prop to change the size of the button.
Variants
Use the variant prop to change the variant of the button.
Icon
Use icons within a button
Disabled
Use icons within a button
API Reference
| Prop | Type | Default |
|---|---|---|
| size | xs | sm | md | lg | xl | md |
| variant | primary | secondary | tertiary | surface | ghost | plain | primary |
| iconOnly | boolean | false |
| fullWidth | boolean | false |
| as | React.ElementType | - |
| asChild | boolean | - |

