Skip to content

Migrating to 3.0

storybook-addon-vis 3.0.0 supports Storybook 10. It lists storybook and @storybook/addon-vitest ^10.1.2 and vitest ^4 as peer dependencies, and depends on vitest-plugin-vis 4, which moves to Vitest 4. For Storybook 9, use 2.x.

The 2.0 setup keeps working in 3.0. The only API change is an addition: defineStorybookVis(), which you can use in .storybook/main.ts. See the storybook-addon-vis changelog for the full list.

CSF Next support was improved in 3.1.0. If you are migrating to use CSF Next, follow the Basic Setup for CSF Next guide.