This is an example repo to demonstrate Storybook, a UI development environment.
First, clone the repo and navigate to the folder. In the CLI, run the following commands to get up and running:
nvm use 6 # create-react-app requires node v6 or higher
yarn
yarn storybook
Open your browser and go to localhost:9001
. You should see the Storybook environment. You can play around with the components that already exist or write your own components using the data provided.
- Storybook can be installed in a couple of ways. We suggest making sure you do these steps.
- Some addons are automatically included as part of the default Storybook package. For knobs, follow these instructions.