Button
Buttons allow users to perform actions and make choices with a single tap.
Import
import { Button } from '@flexi-ui/button'Usage
Variants
Buttons come in different variants to suit different use cases:
Colors
Choose from various color schemes:
Sizes
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| color | default | primary | secondary | success | warning | danger | default | The color of the button |
| variant | solid | bordered | light | flat | ghost | solid | The variant of the button |
| size | sm | md | lg | md | The size of the button |
| isDisabled | boolean | false | Whether the button is disabled |
| isLoading | boolean | false | Whether the button is in a loading state |