BalanceReckon Design System
FoundationsButtonDeprecated

Button

Buttons allow users to perform an action or to navigate to another page / view.

ActionButtonProps

PropTypeRequiredDefaultDescription
childrenReactNode——Provide arbitrary element(s) to the button. The `icon*` and `label` properties will no-longer apply.
disabledboolean——Whether the button should be disabled or not
iconAfterComponentType<IconProps>——An icon or element rendered after the button label.
iconBeforeComponentType<IconProps>——An icon or element rendered before the button label.
labelstring——The label of the button.
type
submit|button|reset
——Provide an alternate type if the button is within a form.
weight
bold|subtle
——The weight of the button.
Also accepts HTMLAttributes<HTMLButtonElement>

DeprecatedButtonProps

PropTypeRequiredDefaultDescription
blockboolean—falseWhen true, the button will fill the available width of its container.
disabledboolean—falseWhen true, the button will be disabled.
iconAfterComponentType<IconProps>——An element rendered after the button content.
iconBeforeComponentType<IconProps>——An element rendered before the button content.
labelstringYes—The label of the button.
loadingboolean—falseWhen true, the button will display a loading spinner.
sizeSize
small|medium
—mediumThe size of the button.
tone
active|critical
—activeThe tone that is conveyed by the button.
type
submit|button|reset
——Provide an alternate type if the button is within a form.
weight
bold|subtle
—boldThe weight of the button.