Skip to content

Button

Use the variant prop to change the visual style of the Button.

Use the class or style prop to change the color of the button.

Use the size prop to change the size of the button.

Pass the isLoading props to the Button component to show a loading spinner.

Use icons within a button.

Use the href and target optional prop to render a button as a link.

Use the disabled prop to disable the button.

Press effect is enabled by default. Use the pressedEffect prop to disable pressed effect the button.