JSPM

@storybook/react

4.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6853260
  • Score
    100M100P100Q239333F
  • License MIT

Storybook for React: Develop React Component in isolation with Hot Reloading.

Package Exports

  • @storybook/react
  • @storybook/react/bin
  • @storybook/react/bin/build
  • @storybook/react/bin/build.js
  • @storybook/react/bin/index.js
  • @storybook/react/demo
  • @storybook/react/dist/server
  • @storybook/react/dist/server/build
  • @storybook/react/dist/server/index
  • @storybook/react/standalone

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storybook/react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Storybook for React

Storybook for React is a UI development environment for your React components. With it, you can visualize different states of your UI components and develop them interactively.

Storybook Screenshot

Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.

Getting Started

cd my-react-app
npx -p @storybook/cli sb init

For more information visit: storybook.js.org


Storybook also comes with a lot of addons and a great API to customize as you wish. You can also build a static version of your storybook and deploy it anywhere you want.

Here are some featured storybooks that you can reference to see how Storybook works:

Typescript

If you are using Typescript, make sure you have the type definitions installed via yarn add @types/node @types/react @types/storybook__react --dev.

Docs