Use the variant
prop to change the visual aspect of the button.
Show code
Colors
Use the color
prop to change the color of the button.
Show code
Disabled
Add the disabled
prop to disable the button. The disabled
variant has a
higher priority than the color
variant.
Show code
Sizes
Set the size
prop to change the size of the button.
Show code
Rounded
Use the rounded
prop to change the border radius of the button.
Show code
With Icons
You can add icons to the button using the iconStart
and iconEnd
props.
Show code
API
See documentation below for reference to all of the props, classes and CSS
variables (custom properties) available for <Button />
: