Button

Used to trigger actions based on interactions.


Props

children

stringThe content of the button

color

"accent" | "gray" | "blue" | "pink" | "red" | "amber" | "green"The color of the button

variant

"solid" | "soft" | "ghost"The variant of the button

size

"medium" | "small"The size of the button

shape

"square" | "round"The shape of the button

disabled

booleanWhether the button is disabled

loading

booleanWhether the button is loading

Showcase

Decorations

Polymorphic