Skip to main content

IconButton

A button component that displays an icon in various sizes.

LucideIcon
required

Lucide icon component to render

Anchor to buttonStyles
buttonStyles
string

Custom CSS classes for the button container

Anchor to filled
filled
boolean

Whether the button is in a filled/active state

Anchor to iconStyles
iconStyles
string

Custom CSS classes for the icon

Anchor to onClick
onClick
() => void

Click handler

'default' | 'sm' | 'lg'

Button size variant


Was this page helpful?