No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Button

Uses the standard HTML button.

NameDescriptionDefaultControl
props
variant
The variant of the button (changes the style)
string
"primary"
label
The text inside the button
string
-
icon
The icon to be used inside the button
string
-
iconRight
Sets the icon to the right of the text
boolean
false
size
Sets the size of the button
string
"default"
type
Sets the type of the button (button, reset, submit)
string
"button"
disabled
Disable the button
boolean
false
processing
Places the button in a processing state
boolean
false
error
Places the button in a error state
boolean
false
events
click
unknown
-

Stories

Secondary

Error

Text Only

Simple

Disabled

Processing

Icon Button

Icon Button Right

Icon Only

Small