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

Subtitle to our button component...

Some more documentation goes here, And here .... JSDoc feauture

NameDescriptionDefault
loading
Use the loading state to indicate that the button action isn't finished yet.
bool
false
fullWidth
If true, the button will take up the full width of its container.
bool
false
variant
"default" | "primary" | "secondary"
"default"
icon
Takes a Component as a function e.g. icon={() => <Icon size={16} icon="search" />}.
func
() => {}

Stories

Full Width

With Icon

Inline Buttons

Loading

4 variants are supported.