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.

Buttons

Buttons are used to make actions immediately visible and easy to click.

Use SButtonGroup to group multiple buttons.

If you want the button to just contain an icon, set the icon-only prop to true.

Example

Prop list

Prop Type Default Value Required
color string ""
icon-left string ""
icon-only boolean false
icon-right string ""
is-loading boolean false
native-type string null
shade string ""
size string ""
type string ""
If you need to set the button's type (e.g.: type="submit"), use thenative-type prop.