Skip to content

GaneshGandhiONCH/react-native

Repository files navigation

Storybook

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

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

Intro

React 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 getstorybook
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: https://storybooks.js.org

Main Projects

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

📓 Storybook for React Native!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 65.6%
  • JavaScript 34.4%