- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Button
Displays a button
Was this example helpful?
Usage#
API Reference#
This component is based on the button
element and supports all of its props
Prop | Type | Default |
---|---|---|
isLoading | boolean | false |
asChild | boolean | false |
variant | "primary" | |
size | "base" |
Was this page helpful?
Examples#
Primary#
Was this example helpful?
Secondary#
Was this example helpful?
Transparent#
Was this example helpful?
Danger#
Was this example helpful?
Disabled#
Was this example helpful?
With Icon#
Was this example helpful?
Loading#
Was this example helpful?