Storybook

The industry-standard workshop for building, documenting, and testing UI components in isolation, across every major frontend framework.

Tool
npm
v10.6.0
91,025stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
95/100Excellent
Development Activity100
Maintenance96
Community84
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
93/100Excellent
Architecture92
Code Quality92
Innovation88
Learning Curve100

Storybook is a frontend workshop that renders individual UI components and pages outside of your application, so teams can build, review, and iterate on components without wiring up routes, state, or backend data. Components are described as “stories” using the Component Story Format (CSF), a lightweight, statically-analyzable file format that the rest of the ecosystem — docs generation, visual testing, codemods — builds on top of.

The project is organized as a large monorepo: a shared core package handles the CLI, dev server, manager UI, and preview runtime, while dedicated renderers and frameworks packages plug in support for React, Vue 3, Angular, Svelte, Web Components, HTML, and Ember, and builders abstract over Vite and Webpack 5 so the same stories run under either bundler. An addon ecosystem (accessibility auditing, auto-generated docs, theming, Vitest-based component testing, and more) extends every renderer uniformly through a shared manager/preview messaging channel.

What You Get

  • A dev server and static builder (via the core CLI) that renders component stories in an isolated preview iframe alongside a navigable manager UI
  • Framework-specific renderer and framework packages so the same story format works across React, Vue 3, Angular, Svelte, Web Components, HTML, and Ember
  • Bundler-agnostic builders for Vite and Webpack 5, so a project can choose either without changing how stories are written
  • An addon ecosystem covering accessibility auditing (a11y), auto-generated documentation (docs), inter-story navigation (links), theme switching (themes), and Vitest-based component testing (addon-vitest)
  • A typed, categorized error hierarchy (StorybookError) and opt-out anonymized telemetry baked into the core packages

Common Use Cases

  • Design system teams rendering every component variant and state in isolation for review, without needing the full app running
  • Frontend engineers running existing stories as automated interaction, accessibility, and visual regression tests in CI via addon-vitest
  • Cross-framework teams sharing one CSF story format across a React app and a Vue app, each using the matching renderer package
  • Technical writers and component authors auto-generating prop tables and usage docs from TypeScript types via the docs addon

Under The Hood

Architecture Storybook is organized as a large monorepo (yarn workspaces + Nx) with a clear plugin architecture: code/core owns the CLI entry point (src/bin/dispatcher.ts), the dev/build orchestration (core-server), the manager UI shell (manager, manager-api), and the isolated preview runtime (preview, preview-api), all bridged by a postMessage-based channels layer so the manager UI and the sandboxed preview iframe never share a JS context directly. Framework support is added through separate renderers/* and frameworks/* packages, bundler support through builders/* (Vite, Webpack 5), and functionality through addons/*, all of which plug into the same channel protocol and CSF story format — meaning a change to that shared protocol or format ripples through every renderer and addon at once.

Tech Stack Written in TypeScript with strict mode enabled across the workspace, built and orchestrated via Nx and yarn workspaces, linted and formatted with the Rust-based oxlint/oxfmt toolchain, and tested with Vitest across per-package project configs plus Playwright for end-to-end sandbox scenarios. It ships dedicated integration packages for every major frontend framework and for both leading JS bundlers, and publishes as a large family of scoped npm packages rather than a single artifact.

Code Quality The repository contains an extensive unit test suite (hundreds of .test.ts/.test.tsx files) organized per-package and run through Vitest’s workspace-project feature, backed by CircleCI with Codecov coverage reporting and Husky/lint-staged pre-commit checks. Errors are modeled through an abstract, typed StorybookError base class with category and numeric codes rather than thrown as bare Error objects, giving consumers structured, documented failure modes instead of opaque stack traces.

What Makes It Unique CSF (Component Story Format) gives the ecosystem a standardized, statically-analyzable way to describe a component’s states, which downstream tooling (visual regression services, codemods, the docs addon) can parse without executing the component. The addon-vitest integration extends this further, turning existing stories directly into Vitest component tests — interaction, accessibility, and visual coverage reuse the same stories a team already writes for development, rather than requiring a parallel, hand-maintained test suite.

Used by 81 apps in this directory

TypeScript
76%
AGPL 3.0

Abby

Developer Tools · Product Management

166

Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.

View details
30
Repo Health
70
Technical
63
Dependency
Built with
TypeScript76%
MDX18%
Updated 1 years ago
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
87%
Other

AFFiNE

Productivity · Project Management · Note Taking

72,238

Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.

View details
91
Repo Health
87
Technical
67
Dependency
Built with
TypeScript87%
Updated yesterday
Python
98%
MIT

Agent Lightning

AI Development

18,000

A Microsoft-built training framework that optimizes AI agents with reinforcement learning, automatic prompt optimization, or supervised fine-tuning — with near-zero code changes to your existing agent, in any framework.

View details
83
Repo Health
68
Technical
70
Dependency
Built with
Python98%
Updated 5 days ago
TypeScript
89%
Other

anytype-ts

Knowledge Management · Note Taking · Collaboration

8,755

A local-first, end-to-end encrypted knowledge OS that lets you build notes, tasks, wikis, and entire apps — with your data stored offline and synced peer-to-peer.

View details
88
Repo Health
78
Technical
67
Dependency
Built with
TypeScript89%
Updated 2 days ago
TypeScript
68%
Apache 2.0

Appsmith

Developer Tools · Automation · No Code Platforms

40,825

Open-source low-code platform to build admin panels, dashboards, and internal tools connected to any database or API.

View details
93
Repo Health
79
Technical
66
Dependency
Built with
TypeScript68%
Java21%
Updated 3 days ago
Python
56%
Other

authentik

Authentication · Security

25,385

The self-hosted Identity Provider that replaces Okta, Auth0, and Entra ID with a unified SSO platform supporting SAML, OAuth2/OIDC, LDAP, RADIUS, and WebAuthn.

View details
92
Repo Health
81
Technical
66
Dependency
Built with
Python56%
TypeScript34%
Updated yesterday
Go
54%
Apache 2.0

Authgear

Authentication

2,028

Open-source, self-hostable authentication platform with passkeys, biometric login, SSO, MFA, and GraphQL admin API — a full Auth0/Clerk/Firebase alternative for SaaS and mobile apps.

View details
88
Repo Health
81
Technical
68
Dependency
Built with
Go54%
HTML25%
TypeScript18%
Updated 3 days ago
Python
67%
Other

AutoGPT

Automation · Productivity · AI Assistants

187,177

Build, deploy, and run autonomous AI agents that automate complex multi-step workflows using a visual block-based graph editor.

View details
93
Repo Health
78
Technical
66
Dependency
Built with
Python67%
TypeScript32%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search