Buttons
Buttons are used to perform actions in the product.
Default
<Button
label="Label"
size="medium"
kind="default"
onClick={doTheThing}
/>
Primary
<Button
label="Label"
size="medium"
kind="primary"
onClick={doTheThing}
/>
Secondary
<Button
label="Label"
size="medium"
kind="secondary"
onClick={doTheThing}
/>
These examples are taken from the excellent Storybook Example Design System.
Last updated