Skip to Content
EnComponentsButton

Button

The Button component is used to trigger actions.

Note: The Button component supports all standard HTML button attributes, such as onClick, type, disabled, etc.

Playground

Props

Examples

Colors

Variants

Dark

Light

Sizes

Styles

States

Button Props

PropTypeDefaultDescription
activebooleanfalseApplies the active state.
colorButtonColor-Sets the color of the button.
darkbooleanfalseApplies the dark color variant.
disabledbooleanfalseDisables the button.
focusedbooleanfalseApplies the focused state.
fullwidthbooleanfalseMakes the button take up the full width.
hoveredbooleanfalseApplies the hovered state.
iconIconName-Adds an icon to the button.
invertedbooleanfalseInverts the color of the button.
lightbooleanfalseApplies the light color variant.
loadingbooleanfalseShows a loading spinner.
outlinedbooleanfalseApplies the outlined style.
responsivebooleanfalseMakes the button responsive.
roundedbooleanfalseApplies rounded corners.
selectedbooleanfalseApplies the selected state.
sizeThemeSize-Sets the size of the button.
staticbooleanfalseMakes the button non-interactive.

Buttons

The Buttons component is a container for Button components, allowing for grouping and alignment.

Playground

Props

Examples

List of buttons

Grouped with Addons

Alignment

Buttons Props

PropTypeDefaultDescription
addonsbooleanfalseAttaches the buttons together.
align'centered' | 'right'-Aligns the buttons inside the container.

See also

Last updated on