- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Icon Button
Displays an icon 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 |
---|---|---|
asChild | boolean | false |
isLoading | boolean | false |
variant | "primary" | |
size | "base" |
Was this page helpful?
Examples#
Primary#
Was this example helpful?
Transparent#
Was this example helpful?
Base#
Was this example helpful?
Large#
Was this example helpful?
X-Large#
Was this example helpful?
Disabled#
Was this example helpful?
Loading#
Was this example helpful?