Storybook
banner
storybook.js.org
Storybook
@storybook.js.org
Develop, test, and document UI in isolation
🔗 storybook.js.org
🛠️ Maintained by Chromatic
And some peeks at what’s coming…

We’ve extended CSF Factories with a test syntax, making it easier than ever to write familiar tests for your components and test them in Storybook.

And we’ve released experimental support for RSC component testing, in collaboration with the entire React ecosystem.
November 4, 2025 at 7:02 PM
Tag filtering has been overhauled. You can now include or exclude stories with specific tags from your sidebar. And you can configure your Storybook to do that filtering by default.
November 4, 2025 at 7:02 PM
We also squeezed in some fun UX improvements. Open a story in your editor with a click or scan a QR code to open that story on your phone.
November 4, 2025 at 7:02 PM
CSF Factories are now in Preview for React users. They bring better type safety and significantly less boilerplate. Support for other frameworks coming soon!
November 4, 2025 at 7:02 PM
Storybook 10 adds a new `sb.mock` API, inspired by @vitest.dev's mocking capabilities and tailored for isolated component development and testing.
November 4, 2025 at 7:02 PM
We’re thrilled to share that Storybook 10 is ESM-only. This reduces install size by 29%, allowed us to stop minifying our code, and helps push the Javascript ecosystem toward a simpler, standardized future.
November 4, 2025 at 7:02 PM
Storybook’s CSF Next is coming 👀

Faster story authoring. Less boilerplate. Built-in TypeScript.
And a sneak peek at the new .test() method for writing component tests that feel natural.

Join our Storybook maintainers live on Oct 16 for a live demo of what’s next.

Registration in comments 👇
October 10, 2025 at 2:47 PM
AI can write your UI. But can you trust it?

Kevin Leneway, (Principal AI SE, Pioneer Square Labs) uses Cursor × Storybook to turn raw AI output into prototypes you can validate fast.

🗓️ Oct 12 — 12 PM EDT / 18:00 CET
🔗 Registration link in comments
September 29, 2025 at 4:17 PM
Cursor writes code fast, but does it work? Pair it with Storybook to see components render in isolation–good, bad or broken.

Join us with Kevin Leneway for a live demo of his workflow:
✅ Feed Cursor a build checklist
✅ Watch components render live
✅ Decide: iterate, ship, or scrap

Register below👇
September 24, 2025 at 8:38 PM
We're excited about this smaller, simpler, and more modern version of Storybook.

You can try it today, in Storybook 10 beta. Check our migration guide for details:

storybook.js.org/docs/10/rele...
September 9, 2025 at 3:48 PM
The next version of Storybook will only have one significant breaking change:

Storybook 10 is ESM-only.
September 9, 2025 at 3:48 PM
Thursday: @tpitre.bsky.social (CEO, Southleft) shows what happens when you give AI your design system:

⚡ On-brand UI from the first prompt
🧩 Storybook + MCP + Claude workflows
🚀 Faster prototyping, fewer re-prompts

Don’t miss it! (link in comments)
August 26, 2025 at 3:42 PM
With either technique, you now have a mocked module available in all of your stories. You can manipulate the behavior in the same place where you test it. It’s the perfect balance of simplicity and powerful flexibility.
August 21, 2025 at 6:00 PM
When you need more control over the mock implementation, use the `__mocks__` convention to provide a mock file:
August 21, 2025 at 6:00 PM
You have two options when setting up a mock, automatic or with a mock file.

For most cases, the automatically created mocks are perfect. Just call the `sb.mock` utility in your Storybook's preview configuration.
August 21, 2025 at 6:00 PM
Testing components that depend on things like localStorage or authentication can be tricky. Storybook makes it easy with our new module mocking API built on top of @vitest.dev's excellent mocking tools.

storybook.js.org/blog/next-ge...
August 21, 2025 at 6:00 PM
AI-generated UI ≠ production UI.

AI UI is off-brand without your design system, and falls apart in production.

Join us live with @tpitre.bsky.social, CEO of Southleft & AI-powered DS expert, to see how Storybook + MCP + Claude generate UI from your real components.

Registration in comments 👇
August 20, 2025 at 4:08 PM
Tomorrow, we're showing you how we cut 48% of Storybook’s bundle size.

Join Jeppe Reinhold (Storybook core) and James Garbutt (aka 43081j, head of e18e) for a live breakdown with Q&A.

🔗 Grab your spot: us02web.zoom.us/webinar/regi...
July 14, 2025 at 3:33 PM
Want to cut your app’s bundle size in half?

Storybook just slashed its bundle by 48%. Now the devs behind it—@reinhold.is & @43081j.com —are showing how you can do the same.

✅ What they cut
✅ How to find & fix bloat
✅ What’s next for optimization

📍 Save your seat: us02web.zoom.us/webinar/regi...
July 11, 2025 at 2:30 PM
whoa we were mentioned in Figma's S1 filing 🤯
July 2, 2025 at 2:35 PM
👀 Keep an eye on new violations with Chromatic’s new Accessibility Regression Testing and reporting

Just starting to tackle a11y issues and overwhelmed with violations? Chromatic allows you to temporarily accept existing violations and continue to track new or updated ones.
July 1, 2025 at 5:03 PM
🚥 Automate a11y checks in Storybook, CLI, and CI

Make sure you never ship another UI a11y violation.

Automate accessibility checks across all of your stories alongside your component tests. Works in the Storybook app, the CLI (❤️ @vitest_dev), and CI.
July 1, 2025 at 5:03 PM
🔗 Copy a link to a violation to share with others

Copy a link to the violation you’re looking at with a click. Then share it with your teammates when you have questions or need some help. They’ll see exactly what you’re seeing.
July 1, 2025 at 5:02 PM
🔧 Fix violations with actionable tips

Each violation provides the details you need to find and fix it, including details about the violating element, a button to jump to it in the canvas, and most importantly, a link to learn more about resolving it.
July 1, 2025 at 5:01 PM
🔎 Spot issues fast with the redesigned Accessibility addon

Same reliable checks as before with axe-core. Completely rethought to help you find and fix violations more quickly.

And we now automatically detect and wait for animations to finish.
July 1, 2025 at 5:01 PM