Compound Components
Button
A Button Component .
Loading...
Installation
Usage
API
Button Props
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | ReactNode | ReactNode[] | The contents of the component . Usually the name of button | - |
| className | ReactNode | ReactNode[] | The extra classes for user modification . | - |
| variant | solid | outline | ghost | link | The button appearance style. | solid |
| size | sm | md | lg | The button size on viewport. | md |
| radius | sm | md | lg | xl | full | The button radius on viewport. | md |
Examples
Default
Outline
Ghost
Link
Credits
This component is inspired by Rehman Kalawant Design Shared On Github.