Generic button props

Last updated: 2.0.0 (18/01/2023)

Props

Extends GenericClickableProps, GenericClickableEventProps, PolymorphicButtonProps, GenericLayoutProps.

Property
Type
Description

variant

FillVariant

This button's styling variant. Defaults to theme default.

size

ComponentSize

This button's sizing class. Defaults to theme default.

radius

ComponentSize

This button's radius size class. Defaults to theme default.

square

boolean

Whether this button is square.

shadow

boolean

Whether a shadow will be shown under this button.

grow

boolean

Shorthand for flex-grow = 1.

disabled

boolean

Whether this button is disabled.

loading

boolean

Whether this button is loading.

Last updated

Was this helpful?