IconButton
A button component that displays an icon in various sizes.
Anchor to propsProps
- Anchor to IconIconIconLucideIconLucideIconrequiredrequired
Lucide icon component to render
- stringstring
Custom CSS classes for the button container
- Anchor to filledfilledfilledbooleanboolean
Whether the button is in a filled/active state
- Anchor to iconStylesiconStylesiconStylesstringstring
Custom CSS classes for the icon
- Anchor to onClickonClickonClick() => void() => void
Click handler
- Anchor to sizesizesize'default' | 'sm' | 'lg''default' | 'sm' | 'lg'
Button size variant
Was this page helpful?