Buttons allow users to perform an action.
Refer to Button on usage patterns for an upsell button.
Initial
Disabled
Loading
Refer to Button for additional guidelines for an upsell button.
Name | Default | Description |
---|---|---|
isLoading | — | boolean Toggles the loading state. |
isDisabled | — | boolean Toggles the disabled state. |
isJustified | — | boolean Take up an entire available container width. |
children | — | ReactNode Button text. |
size | — | "sm" | "md" | "lg" Determines the height of the button. |
icon | — | ComponentType<SVGAttributes<SVGElement>> Primary icon that's displayed on the left. |
On this page