Documentation
Button

Button

Used to trigger an operation.

Sizes

These sizes are standardized across form components.

Shapes

Prefix and Suffix

Types

Variant - Ghost

Loading

Disabled

Props

NameTypeDefaultRequiredDescription
size'small' | 'normal' | 'large''normal'NoSize of the button.
shape'round' | 'square''square'NoShape of the button corners.
prefixReact.ReactNodeundefinedNoContent to be displayed before the button text.
suffixReact.ReactNodeundefinedNoContent to be displayed after the button text.
typeAccentColors'primary'NoVisual style variant of the button.
variant'ghost'undefinedNoAlternative style variant that shows only outlines.
loadingbooleanfalseNoShows a loading spinner and disables the button.
disabledbooleanfalseNoDisables button interactions and dims its appearance.