Park UI

Icon Button

A button component that displays an icon instead of text.

Installation

Usage

Examples

Sizes

Use the size prop to change the size of the button.

Variants

Use the variant prop to change the appearance of the button.

Colors

Use the colorPalette prop to change the appearance of the button.

Rounded

Set the borderRadius prop to full to get a rounded button.

Props

PropDefaultType
variant'solid'
'solid' | 'surface' | 'subtle' | 'outline' | 'plain'
size'md'
'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'