Button
A key interactive element that triggers an action or event. Can be styled in various ways to match design intent and hierarchy.
Loading...
Installation
Usage
API
Button Props
For Button Component
| Attribute | Type | Description | Default |
|---|---|---|---|
| variant | "solid" | "outline" | "ghost" | "link" | Controls the visual style and behavior of the button. | "solid" |
| size | "sm" | "md" | "lg" | Controls the size and padding of the button. | "md" |
| radius | "sm" | "md" | "lg" | "xl" | "full" | Controls the border radius of the button. | "md" |
| className | string | Additional CSS classes to customize the button styling. | - |
Examples
Default
Outline
Ghost
Link
Credits
This component is inspired by Rehman Kalawant Design Shared On Github.