IconButton
IconButton Component
Playground
Props
| Prop | Type | Default | Value |
|---|---|---|---|
| size | selectsm | md | lg | — | |
| color | selectdefault | primary | error | — | |
| disabled | boolean | — |
Default
Primary
Sizes
Disabled
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
color | select | — | Color scheme |
disabled | boolean | — | Whether the button is disabled |
size | select | — | Button size |
Using IconButtontsx
import { IconButton } from '@/components/IconButton'
<IconButton
size="..."
color="..."
disabled="..."
/>Tokens Used
No design tokens detected