Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL

storybookjs/storybook

Developer Tools

Frontend workshop for UI teams to build, document, and test components in isolation across major frameworks.

91,630
10,597
TypeScript
MIT
10 years old

What it is

Storybook is a frontend workshop for developing UI components and pages outside the full application runtime. It targets frontend and design-system teams that need to render a component in known states, document its variants, and run interaction and accessibility checks without navigating the whole product. The repository is a TypeScript monorepo covering renderers for React, Angular, Vue 3, Web Components, Svelte, Preact, Ember, and HTML, plus separate React Native and native mobile projects.

Getting started

Project setup and documentation live on the Storybook site, so the repository does not inline an installation command. Start by opening the Storybook website to follow its getting-started path, read the documentation for framework-specific setup, or create an example project in Stackblitz via storybook.new. If you want to inspect real component libraries first, the Component Encyclopedia shows production Storybook usage.

To work on Storybook itself, the repository is a monorepo and expects Yarn-based scripts. yarn start runs a sandbox template with test stories, and yarn task offers a customizable sandbox for selecting other frameworks (see development scripts). Linting uses remark and eslint through yarn lint, and tests use Jest through yarn test.

Extending the workflow

The project ships built-in addons for documentation, accessibility checks, action logging, viewport sizing, layout measurement, and other development tasks, alongside a broader addon catalog. Some older addons have migration paths: info/notes move to docs, contexts move to toolbars and globals, and addon-storyshots moves to the test runner. Teams that rely on these should plan that migration before upgrading.

Constraints

Adoption is framework-dependent: renderers and framework packages differ by ecosystem, and mobile support is split across the React Native and native repositories rather than handled by the core React renderer alone. The project is MIT licensed. The README recommends joining Discord and GitHub Discussions for help, but it does not repeat full installation or configuration steps in the repository, so setting up a project requires following the versioned documentation site.

HotRepo's take

The repository is a mature, long-running project created in 2016, with around 91.6k stars and 10.6k forks. In HotRepo's TypeScript-language daily record for 2026-11-18, it added 25 stars and had a best position of 11 in that language list. That single snapshot shows the project still appears on the TypeScript daily board, but it is not enough to describe a trend, and it is a language-list placement rather than an all-language ranking.

Written by AI from the project's README, updated . The project's own docs are the source of truth.

Hacker News

Storybook is a development environment for UI components
▲ 2 · 0 comments · January 14, 2021

You might also like

  1. wailsapp/wailsWraps Go backends and web frontends into one desktop binary, for Go developers avoiding an embedded server.Go36,690
  2. react/reactA JavaScript UI library for building component-based web and native interfaces, used by frontend teams choosing a rendering stack.JavaScript251,745
  3. nolly-studio/cult-uiAn open-source library of 150+ animated shadcn/ui components for React and Next.js developers.TypeScript7,439
  4. saadeghi/daisyuiA Tailwind CSS component library offering ready-made UI classes and themes for front-end developers.JavaScript42,853