Button

An accessible action button.

Usage

Variants

Use variant property to define button variant. Four variants are available: "primary", "success", "danger" and "neutral". The default variant is "primary".

Disabled

Set disabled attribute to display button as disabled.

It is common to have to display a button that actually behaves like a link. The forwardedAs prop replaces the intrinsic component of the button.

Edit this page on GitHub