The shared UI workshop for humans and agents
Storybook is the industry standard workshop for developing, documenting, and testing UI components. For years we've honed tools to help people build better UI.
Agents need the same tools. They need context about your components, tokens, and UI patterns to build well. They need to quickly and reliably check their own work. And they need human review to ensure they are building the right thing.
That’s why Storybook 11 focuses on agent experience:
- Official skills for coding agents, with Claude Code and Codex plugins
- Headless CLI tools you can combine into your own workflows
- Type-safe stories and a more ergonomic factory API
- Agent-ready docgen for React, Vue, Angular, Web Components, and Svelte
- 29% smaller package , with up to 19x faster context delivery than v10
- UI review page to see all the UI states an agent changed at once
It turns Storybook into a shared UI workshop. Agents can build and check their work and people can review the results to guide what happens next.
How Storybook works with agents #
Storybook 11’s skills connect your agent to your Storybook, giving it access to your components and a self-verifying UI workflow.
For example, you ask your agent to:
Build a compact sign in form with show password, remember me, and forgot password support
Here’s what will happen:
1. Use your components
First, it uses the component-docs skill to learn about your available components, their types and APIs, and their stories, which serve as usage examples. Armed with this info, the agent now builds UI that reuses your components correctly, instead of making up worse ones.
With Storybook, agents are over 4% more likely to reuse existing components correctly in each prompt. This might not sound like a lot, but over a 10-prompt session this compounds to a 1.5x improvement across all prompts.
2. Write stories
Next, the agent uses the write-stories skill to capture all of the states and variants of the new form. It writes stories with a play function to capture interactive behavior, such as the forgot password flow.
3. Verify with tests
Now that the first pass is done, the agent uses the test-stories skill to run new and updated stories as component tests in a real browser, with accessibility checks. If any issues are found, the agent will attempt a fix and re-run the tests until they pass.
4. Review only what changed
Finally, the agent asks if you’d like to use the ui-review skill to assemble a review of its changes. Because the tests and other checks have already run, you can focus on the visual impact. Changes are grouped and summarized, so you can quickly grasp exactly what was changed. If you want a closer look, click any story to open the story as normal, with the full toolbar and addon panels.
With Storybook 11, we now support reading component data from all core frameworks. Some community frameworks, like Astro, have also already added support. Because Storybook is open source and open format (MDX and CSF), your component docs and stories stay yours, not locked in a proprietary tool.
Unlike with the MCP server (which is still supported), you can just start working with these skills; no need to first start Storybook on your own. That also means the skills work nicely with parallel agents running git worktree-based workflows.
Skills are automatically installed for new projects and you are prompted to install them when you upgrade a project. They are also available on skills.sh and in Claude Code and Codex plugins. Learn more from our documentation.
Make your own workflow with the CLI #
The skills are powered by a new tools command in the Storybook CLI. These tools give you and your agents access to a fast, headless Storybook. The CLI only attaches to the Storybook dev server when it needs a browser, making many operations nearly instant.
npx storybook tools --help
npx storybook tools docs list
npx storybook tools docs show --id "your-component-id"
Storybook’s skills are opinionated, but the new tools commands make it possible to build skills, scripts, and UI tooling that are tailored to your workflow.
Safer, shorter stories #
Whether you write stories by hand or your agent does it, you’ll benefit from upgrading to CSF 4. It uses the factory function pattern, which improves type safety and reduces boilerplate at the same time. Agents thrive with the simpler syntax.
For the first time, addons can extend the type schema. So when you configure the accessibility addon with a parameter in your meta, it’s fully typed.
import preview from '../.storybook/preview';
import { Button } from './Button';
const meta = preview.meta({
component: Button,
parameters: {
// 👇 Type-safe!
a11y: { test: 'error' },
},
});
// 👆👇 No type casting for meta or stories!
export const Primary = meta.story({ args: { primary: true } });
To upgrade, run npx storybook automigrate csf-factories. You can upgrade one file at a time or your whole project in one big bang. Prior versions of CSF are still supported.
Community spotlight #
Storybook has a vibrant open source community building frameworks, tools, and integrations around it. Here are a few recent ecosystem projects we’re excited about.
Storybook Astro. Astro support is the most upvoted issue on the Storybook repo. Luke McDowell and Slawek Kolodziej took matters into their own hands and built Storybook Astro, which supports .astro components, Astro islands, and the full skills workflow in Storybook 11.
WebStorm Storybook Connect. JetBrains and Callstack worked with us to build a WebStorm extension that lets you browse and search stories, jump to their source, and keep story selection synchronized between WebStorm and Storybook. Integrated skills also help AI agents find components without stories and generate the missing ones.
Swatchbook. Give your design tokens a place alongside the components they power. This addon by unpunnyfuns turns DTCG-format token files into interactive Storybook documentation, with previews, resolved values, CSS variable names, and alias chains. Switch themes or brands from the toolbar and watch the documentation update.
Try it today #
To upgrade to Storybook 11, run this command in your project. Most breaking changes and optional upgrades are handled with automigrations. The command tells you about any change you must make by hand. See the migration guide for full details.
npx storybook@latest upgrade
You can also install it in a new project:
npm create storybook@latest
What's next? #
Context. With Storybook 11 your components, stories, and docs become agent-accessible context. But which stories are important and how should you structure your documentation? Tuning your Storybook for agent speed, token cost, and output quality is a black art. We've experimented extensively to figure out what information is most valuable, and are building this knowledge into our future work, with guidelines and tooling to demystify this process.
Validation. Storybook's component tests allow agents to get fast, low-flake feedback on the UI they generate. Next, we're making Storybook the fastest way for agents to headlessly explore your components, grabbing DOM, CSS, accessibility tree, and image snapshots as the agent updates the viewport, theme, and other configuration parameters.
Agentic React Native. React Native is Storybook's hottest framework in 2026, with weekly npm downloads growing 350% since the start of the year. In 11.x we'll be bringing Storybook's official tools and skills to RN. We also plan to extend functional and accessibility testing support to RN to complement Chromatic's new Visual Testing for React Native.
Credits #
Core team
Michael Arestad, Yann Braga, João Cardoso, Tom Coleman, Norbert de Langen, Steve Dodier-Lazaro, Kyle Gach, Gert Hengeveld, Julien Huang, Dom Nguyen, Valentin Palkovic, Kasper Peulen, Jeppe Reinhold, Kai Röder, Michael Shilman (me!), Varun Vachhar, Daniel Williams, and Vanessa Yuen