Installation
CLI
Manual
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage
Import all parts and piece them together.
Examples
Primary
Secondary
Destructive
Ghost
Outline
Link
Icon
Loading
API Reference
Root
The main container component for handling button props.
Prop | Type | Default |
---|---|---|
size | "default" | "sm" | "lg" | "icon" | "default" |
variant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "default" |