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.

created:
12/8/2020
,
updated:
12/8/2020

Button

Component

import { Button } from 'tailwind-storybook-controls-starter';

Medium

Controls

Name
Description
Default
Controls
size
small
medium
medium

Properties

Name
Description
Default
ButtonProps (3 properties)
variant
primary
success
warn
danger
primary
size
small
medium
medium
fullWidth
boolean
-
ClassAttributes (1 properties)
Attributes (1 properties)
ButtonHTMLAttributes (11 properties)
HTMLAttributes (44 properties)
AriaAttributes (48 properties)
DOMAttributes (161 properties)

External dependencies

package
imports
peer
clsx
^1.1.1
clsx
react
^17.0.1
React

Component JSX

Stories

Primary

Success

Warn

Danger

Full Width

Small