Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI
Component Library
Browse and explore components
Buttons
A Button is a UI component used to trigger actions or events.
Default Buttons
Sample Code
Show Code
Copy Code
Light Buttons
Sample Code
Show Code
Copy Code
Rounded Outlined Buttons
Sample Code
Show Code
Copy Code
Square Outlined Buttons
Sample Code
Show Code
Copy Code
Button Pill Sizes
Button Square Sizes
Button with icon
Button with loading state
API ( Button )
Prop | Description | Type | Default |
---|---|---|---|
color | Sets the background and text color of the button. | "primary" | "secondary" | "success" | "info" | "default" |
size | Controls the size of the button. | "xs" | "sm" | "md" | "lg" | "xl" | "md" |
pill | Applies full rounding to make the button pill-shaped. | "true" | "false" | false |
outline | Renders the button with an outline style instead of solid background. | "true" | "false" | false |