Link buttons allow users to navigate to a different page.
Use this variant for call-to-action buttons on the page that the user is expected to perform next.
There should be no more than three primary buttons on the page at once. Avoid placing two primary buttons near each other.
Use this variant for all buttons that don't qualify for primary
, tertiary
, or warning
variants.
This is a default variant, so you don't have to explicitly specify it via variant
prop.
Use this variant for a quieter button. This button does not have a border.
Use this variant for linking to a page that contains a dangerous or destructive action.
Disabled button indicates that user may navigate to a certain page, but it is not available currently.
When button is disabled, use a tooltip to explain why user is not allowed to go to the next page or what do they have to do to enable it.
When a button is justified, it takes up the entire available container width. By default, a button size depends on length of a label inside a button.
Icons can be used in buttons when additional clarity is required and the icon is highly relevant to the action. Icons should not be used for decoration.
If icon indicates a direction, use directionIcon
prop, which places the icon on the right side of a button.
Buttons can also display an image instead of an icon.
Use a ButtonGroup
component when you need to show two or more buttons nearby.
Primary
Secondary
Tertiary
Warning
Initial
Disabled
Loading
Name | Default | Description |
---|