Components

Icon Button

An adaptable button component that can render different elements.

Logo

Sizes

Use the size prop to change the component size.

Variants

Use the variants prop to change the visual style of the component.

Radius

Use the radius prop to change the component shape.

as

Use the as prop to render a different element

Home

Live

API Reference

variant

Type:

"subtle" | "outline" | "ghost"

Visual style of the component

Default:

subtle
size

Type:

"xs" | "sm" | "md" | "lg" | "xl"

Sizes of the componenet

Default:

sm
radius

Type:

"none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full"

Shape of the componenet

Default:

md
mode

Type:

"light" | "dark"

The visual mode of the component.

Default:

system
active

Type:

boolean

Default:

false
disabled

Type:

boolean

Default:

false
as

Type:

"button" | "div"

Default:

button