- Docs
- Components
- Button
Button
Displays a button or a component that looks like a button.
Component button-demo not found in registry.
Installation
CLI
Manual
Usage
Link
You can use the LinkButton component to create a link that looks like a button.
Examples
Default
Component button-demo not found in registry.
Secondary
Component button-secondary not found in registry.
Outline
Component button-outline not found in registry.
Destructive
Component button-destructive not found in registry.
Ghost
Component button-ghost not found in registry.
Link
Component button-link not found in registry.
API Reference
| Prop | Type | Default |
|---|---|---|
variant | enum | "default" |
size | enum | "default" |
isDisabled | boolean | |
isPending | boolean | |
type | enum | "button" |