Storybook
The industry-standard workshop for building, documenting, and testing UI components in isolation, across every major frontend framework.
Repository Health
Technical Analysis
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
coreCLI) 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
Abby
Developer Tools · Product Management
Statically typed feature flags, remote config, and A/B testing with framework-native SDKs for TypeScript teams.
Actual
Invoicing Finance
Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.
AFFiNE
Productivity · Project Management · Note Taking
Write, draw, and plan in one infinite canvas — the open-source alternative to Notion and Miro that keeps your data yours.
Agent Lightning
AI Development
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.
anytype-ts
Knowledge Management · Note Taking · Collaboration
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.
Appsmith
Developer Tools · Automation · No Code Platforms
Open-source low-code platform to build admin panels, dashboards, and internal tools connected to any database or API.
authentik
Authentication · Security
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.
Authgear
Authentication
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.
AutoGPT
Automation · Productivity · AI Assistants
Build, deploy, and run autonomous AI agents that automate complex multi-step workflows using a visual block-based graph editor.