Skip to content

Interactive development & testing environment for UI components for React and React-Native

License

Notifications You must be signed in to change notification settings

Bhanditz/storybook

This branch is 1 commit ahead of opencollective/storybook:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 2, 2017
Apr 9, 2017
May 17, 2017
Nov 5, 2022
May 14, 2017
May 18, 2017
May 16, 2017
Apr 27, 2017
Apr 16, 2017
May 17, 2017
Apr 10, 2017
Apr 14, 2017
May 16, 2017
May 8, 2017
May 17, 2017
May 8, 2017
May 17, 2017
May 17, 2017
May 16, 2017
May 17, 2017
May 17, 2017
May 9, 2017

Repository files navigation

Storybook

Greenkeeper badge Build Status CodeFactor Known Vulnerabilities BCH compliance codecov Storybook Slack

Storybook is a development environment for UI components. It allows you to browse a component library, view the different states of each component, and interactively develop and test components.

Intro

Storybook Screenshot

Storybook runs outside of your app. This allows you to develop UI components in isolation, which can improve component reuse, testability, and development speed. You can build quickly without having to worry about application-specific dependencies.

Storybook comes with a lot of addons for component design, documentation, testing, interactivity, and so on. Storybook's easy-to-use API makes it easy to configure and extend in various ways. It has even been extended to support React Native development for mobile.

Getting Started

First install storybook:

npm i -g @storybook/cli
cd my-react-app
getstorybook

Once it's installed, you can npm run storybook and it will run the development server on your local machine, and give you a URL to browse some sample stories.

For full documentation on using Storybook visit: storybooks.js.org

Main Projects

Sub Projects

  • Storyshots - Easy snapshot testing for storybook
  • CLI - Streamlined installation for a variety of app types
  • examples - Code examples to illustrate different Storybook use cases

Addons

  • addon-actions - Log actions as users interact with components in storybook
  • addon-comments - Comment on storybook stories
  • addon-graphql - Query a GraphQL server within Storybook stories
  • addon-info - Annotate stories with extra component usage information
  • addon-knobs - Interactively edit component prop data in the Storybook UI
  • addon-notes - Annotate storybook stories with notes
  • addon-options - Customize the storybook UI in code

Contributing

We welcome contributions to Storybook! There are many ways to contribute to this project. Get started here

About

Interactive development & testing environment for UI components for React and React-Native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.1%
  • Other 1.9%