Packages

@storybook/addon-docs

10.6.5 · 27 Oct 2026MIT17.2M / weekRepositoryHomepagenpmAtom feed

Your version

8.5.0

15 Jan 2025Where it was published

8.6.19 is the newest release of 8.x.

In short

1 deprecated21 new2 faster34 fixed69 changed4 internal

  • deprecated

    Addon Themes: Deprecate useThemeParameters

Release note

Storybook 8.5 is packed with powerful features to enhance your development workflow. This release makes it easier than ever to build accessible, well-tested UIs. Here’s what’s new:

  • 🦾 Realtime accessibility tests to help build UIs for everybody

  • 🛡️ Project code coverage to measure the completeness of your tests

  • 🎯 Focused tests for faster test feedback

  • ⚛️ React Native Web Vite framework (experimental) for testing mobile UI⚛️

  • 🎁 Storybook test early access program to level up your testing game

  • 💯 Hundreds more improvements

List of all updates

  • Addon A11y: Add conditional rendering for a11y violation number in Testing Module

  • Addon A11y: Add typesVersions support for TypeScript definitions in a11y package

  • Addon A11y: Adjust default behaviour when using with experimental-addon-test

  • Addon A11y: Change default element selector

  • Addon A11y: Create a11y test provider and revamp a11y addon

  • Addon A11y: Don't set a11y tag as comment in automigrations

  • Addon A11y: Fix skipped status handling in Testing Module

  • Addon A11y: Refactor environment variable handling for Vitest integration

  • Addon A11y: Remove warnings API

  • Addon A11y: Run the a11y automigration on postInstall

  • Addon A11y: Show errors of axe properly

  • Addon A11y: Update accessibility status handling in TestProviderRender

  • Addon Docs: Dynamically import rehype

  • Addon Docs: Make new code panel opt in

  • Addon Onboarding: Prebundle react-confetti

  • Addon Test: Add @vitest/coverage-v8 during postinstall if no coverage reporter is installed

  • Addon Test: Add prerequisite check for MSW

  • Addon Test: Add support for previewHead

  • Addon Test: Add Vitest 3 support

  • Addon Test: Always run Vitest in watch mode internally

  • Addon Test: Always use installed version of vitest

  • Addon Test: Clarify message when vitest detects missing deps

  • Addon Test: Clear coverage data when starting or watching

  • Addon Test: Context menu UI

  • Addon Test: Context menu updates

  • Addon Test: Correctly stop Storybook when Vitest closes

  • Addon Test: Filter out falsy test results in TestProviderRender

  • Addon Test: Fix documentation links

  • Addon Test: Fix duplicate test.include patterns

  • Addon Test: Fix environment variable for Vitest Storybook integration

  • Addon Test: Fix error reporting for vitest crashes

  • Addon Test: Fix generated path to vitest.setup.js

  • Addon Test: Fix indexing behavior

  • Addon Test: Fix printing null% for coverage

  • Addon Test: Fix run request while booting or restarting Vitest

  • Addon Test: Handle undefined storyId

  • Addon Test: Improve error message on missing coverage package

  • Addon Test: Improve support for mono-repos

  • Addon Test: Make component tests status row link to the story's tests panel

  • Addon Test: Merge viteFinal config into vitest config

  • Addon Test: Only optimize react deps if applicable in vitest-plugin

  • Addon Test: Only reset story count on file change when watch mode is enabled

  • Addon Test: Optimize internal dependencies

  • Addon Test: Prompt switch to experimental-nextjs-vite

  • Addon Test: Refactor test addon to include stories automatically

  • Addon Test: Remove a11y placeholder

  • Addon Test: Replace glob with tinyglobby

  • Addon Test: Serve staticDirs with Vitest

  • Addon Test: Show sub test provider toggle state in main testing module

  • Addon Test: Support Storybook environment variables in Vitest

  • Addon Test: Use correct vitest config file path

  • Addon Test: Use local storybook binary instead

  • Addon Test: Use ProgressSpinner for stop button in Testing Module

  • Addon Test: Wait for 2 seconds before showing result mismatch warning

  • Addon Test: Wrap sub-paths exported with require.resolve

  • deprecated

    Addon Themes: Deprecate useThemeParameters

  • Angular: Support statsJson in angular schemas

  • Automigration: Improve addon-a11y-addon-test

  • Automigration: Improve setup file transformation and version range handling for a11y migration

  • Automigrations: Skip vite config file migration for react native web

  • CLI: Fix init help for storybook command

  • CLI: Fix new-frameworks automigration

  • CLI: Re-Add Nuxt support

  • CLI: Update a11y-test comment with experimental caveat

  • Composition: Fix composed story search

  • Composition: Hide contextMenu on composed storybooks

  • Core / Addon Test: Add config UI to Testing Module

  • Core / Addon Test: Support intercepting and modifying internal test provider state updates

  • Core + Addon Test: Refactor test API and fix total test count

  • Core: Add bun support with npm fallback

  • Core: Avoid getting stuck in locked state

  • Core: Disable SidebarContextMenu in static builds

  • Core: Emit deprecated TESTING_MODULE_RUN_ALL_REQUEST for backward compatibility

  • Core: Evaluate main config when checking 'whats new' notifications

  • Core: Fix ERR_PACKAGE_PATH_NOT_EXPORTED in @storybook/node-logger

  • Core: Fix scrollIntoView behavior and reimplement testing module time rendering

  • Core: Fix bundling of React

  • Core: Float context menu button on top of story titles in sidebar

  • Core: Prevent clipping box shadow on file search modal

  • Core: Prevent infinite rerendering caused by comparison by reference

  • Interactions: Correctly load preset when absolute paths are used

  • Maintenance: Move @types/node to devDeps consistently

  • Manager API: Fix infinite render-loop caused by useSharedState

  • Manager: Add tags property to GroupEntry objects

  • Manager: Fix size regression

  • Manager: Optimize getPanels function with memoization

  • Next.js: Fix webpack fsCache not working

  • Next.js: Support v15.1.1

  • Next.js: Upgrade sass-loader from ^13.2.0 to ^14.2.1

  • Nextjs-Vite: Add TS docgen support

  • Nextjs-Vite: Fix docgen types in main config

  • Onboarding: Replace react-confetti with @neoconfetti/react

  • React Native Web: Add framework, CLI integration, sandboxes

  • React: Fix RSC compatibility with addon-themes and hooks

  • React: Force act running always in sequence

  • React: Use Act wrapper in Storybook for component rendering

  • ReactVite: Add @storybook/test as optional peer dependency

  • RNW-Vite: Add built-in Flow support

  • RNW-Vite: Add tsconfig path aliases support

  • RNW-Vite: Fix flow plugin including too many things

  • RNW-Vite: Fix reanimated support with babel plugin for node_modules

  • RNW-Vite: Integrate with experimental-addon-test

  • Storysource Addon: Fix source-loader prettier imports

  • Telemetry: Add metadata distinguishing "apps" from "design systems"

  • TestAddon: Refactor UI & add config options

  • Toolbars: Suppress deprecation warning when using dynamic icons

  • UI: Add support for groups to TooltipLinkList and use it in main menu

  • UI: Add Yarn to About Section

  • UI: Fix controls and parameters on tag-filtered stories

  • UI: Fix overlapping shadow of testing module on scrollbar

  • UI: Fix test provider event handling on startup

  • UI: Keep failing stories in the sidebar, disregarding filters

  • UI: Sidebar context menu addon API

  • Vite: Add extra entries to optimizeDeps

  • Vite: Don't prefix story import with @fs

  • Vite: Fix preview runtime import

  • Vite: Fix wrong import paths when configDir is not in project root

  • Vite: Import preview runtime as ordinary module

  • Vitest: Add plugins from viteFinal

  • Vue: Extend sourceDecorator to support v-bind and nested keys in slots

  • Vue: Fix vue-component-meta docgen HMR not working