Button
Buttons allow users to trigger an action or event with a single tap.
Installation
$...
Import
...
Usage
API Reference
Props
Props | Type | Default |
---|---|---|
color | default | primary | success | warning | danger | default |
variant | solid | outline | flat | text | shadow | solid |
size | xs | sm | md | lg | md |
disabled | boolean | false |
loading | boolean | false |
block | boolean | false |
startContent | ReactNode | - |
endContent | ReactNode | - |
spinner | ReactNode | <Spinner /> |
spinnerPlacement | start | end | start |
Events
Props | Type | Default |
---|---|---|
onTap | () => void | - |

Ad