Components/IconButton

IconButton

Square or circular icon-only button with all Button variants.

Installation

Examples

Variants

Solid, outline, ghost, and soft.

Shapes and sizes

Square vs circle; xs through xl.

API Reference

PropTypeDefaultDescription
icon*ReactNoderequiredThe icon to display.
variant'solid'|'outline'|'ghost'|'soft''solid'Visual style.
size'xs'|'sm'|'md'|'lg'|'xl''md'Controls width and height.
shape'square'|'circle''square'Border radius shape.
aria-label*stringrequiredAccessible label for screen readers.