Source: https://seerepo.com/compare/storybookjs/storybook/vs/vitest-dev/vitest
Markdown source: https://seerepo.com/compare/storybookjs/storybook/vs/vitest-dev/vitest.md
Description: storybook and vitest share 4 technologies: Vite, Vue, @standard-schema/spec, and ansi-to-html. Both are written in TypeScript.

# storybook vs vitest

storybook and vitest share 4 technologies: Vite, Vue, @standard-schema/spec, and ansi-to-html. Both are written in TypeScript.

- [storybookjs/storybook](https://seerepo.com/r/storybookjs/storybook): Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
- [vitest-dev/vitest](https://seerepo.com/r/vitest-dev/vitest): Next generation testing framework powered by Vite.

## What they share and what sets them apart

- In common: Vite, Vue, @standard-schema/spec, ansi-to-html
- Only in storybook: React, react-router-dom, polka, Angular, Next.js, Preact, react-native, Svelte, TanStack, Lit, Radix UI, valibot, emotion, react-aria, react-aria-components, @clack/prompts, downshift, react-helmet-async, react-syntax-highlighter, react-textarea-autosize, use-resize-observer, yaml, js-yaml, mdast-util-from-markdown, mdast-util-mdx, mdast-util-mdx-jsx, micromark-extension-mdxjs, qrcode.react, prop-types, Zod, postcss-load-config, styled-jsx, entities
- Only in vitest: vue-router, pngjs, UnoCSS, floating-vue, codemirror, splitpanes, vue-virtual-scroller, prompts, @edge-runtime/vm

## Side by side

| | storybook | vitest |
|---|---|---|
| Size | 729,169 lines written, 2,969 code files | 233,543 lines written, 594 code files |
| Who writes it | 40% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, CodeRabbit, Codex, and Amp | 3.2% of its commits signed by AI. With Claude Code, Codex, GitHub Copilot, and Cursor |
| Activity | Last push November 4, 2026, 63,422 commits, 91,452 stars | Last push November 6, 2026, 6,421 commits, 17,341 stars |
| Tests | 1,128 test files. 35.9% of its code files have a test that imports them | 1,662 test files. 12.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, storybook or vitest?

storybook, with 729,169 lines written; vitest has 233,543.

The proof: [storybookjs/storybook's code at commit f6d12ac](https://github.com/storybookjs/storybook/tree/f6d12ac3ddd01e7880ebd7e36d3751b32907778d)

### Which has more GitHub stars, storybook or vitest?

storybook, with 91,452 stars; vitest has 17,341.

The proof: [storybookjs/storybook on GitHub](https://github.com/storybookjs/storybook)

### Which has more tests, storybook or vitest?

vitest, with 1,662 test files; storybook has 1,128.

The proof: [vitest-dev/vitest's code at commit f21f224](https://github.com/vitest-dev/vitest/tree/f21f224bad11e738840bda1f4b6d64dd7de4a425)

### Which was updated more recently, storybook or vitest?

vitest: its last push was on November 6, 2026, and storybook's on November 4, 2026.

The proof: [vitest-dev/vitest's commits on GitHub](https://github.com/vitest-dev/vitest/commits)

### Which has more commits signed by AI, storybook or vitest?

storybook: an AI signed 40% of its commits, with Claude Code, Cursor, GitHub Copilot, CodeRabbit, Codex, and Amp; in vitest, 3.2%.

The proof: [the commits each tool signed in storybookjs/storybook](https://seerepo.com/r/storybookjs/storybook/ai)

## Sources

- storybookjs/storybook: Read on November 4, 2026, at commit f6d12ac (https://github.com/storybookjs/storybook/tree/f6d12ac3ddd01e7880ebd7e36d3751b32907778d)
- vitest-dev/vitest: Read on November 7, 2026, at commit f21f224 (https://github.com/vitest-dev/vitest/tree/f21f224bad11e738840bda1f4b6d64dd7de4a425)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
