Components
IconButton
Props

IconButtonProps

Hierarchy

Properties

asChild

Optional asChild: boolean

Merge button props with immediate child.

Default

false;

Inherited from

ButtonProps.asChild

Defined in

packages/components/src/button/button.tsx:95 (opens in a new tab)


children

children: ReactNode

Inherited from

ButtonProps.children

Defined in

packages/components/src/button/button.tsx:70 (opens in a new tab)


label

label: ReactNode

Defined in

packages/components/src/icon-button/icon-button.tsx:33 (opens in a new tab)


loading

Optional loading: boolean

Disable the button and show a spinner.

Default

false;

Inherited from

ButtonProps.loading

Defined in

packages/components/src/button/button.tsx:90 (opens in a new tab)


size

Optional size: "normal" | "large"

Increase or decrease padding.

Default

"normal";

Inherited from

ButtonProps.size

Defined in

packages/components/src/button/button.tsx:75 (opens in a new tab)


variant

Optional variant: "primary" | "secondary" | "tertiary" | "critical" | "criticalTertiary"

Change between color combinations.

Default

"secondary";

Inherited from

ButtonProps.variant

Defined in

packages/components/src/button/button.tsx:80 (opens in a new tab)