- Docs
- components
- Button
Button
Displays a button or a component that looks like a button.
Preview
Code
Installation
CLI
Manual
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage
Link
You can use the LinkButton
component to create a link that looks like a button.
Examples
Default
Preview
Code
Secondary
Preview
Code
Outline
Preview
Code
Danger
Preview
Code
Ghost
Preview
Code
Link
Preview
Code
API Reference
Prop | Type | Default |
---|---|---|
variant | enum | "default" |
size | enum | "default" |
isDisabled | boolean | |
isPending | boolean | |
type | enum | "button" |