Source: https://seerepo.com/compare/storybookjs/storybook/vs/swagger-api/swagger-ui
Markdown source: https://seerepo.com/compare/storybookjs/storybook/vs/swagger-api/swagger-ui.md
Description: storybook and swagger-ui share 6 technologies: React, TanStack, react-inspector, react-syntax-highlighter, js-yaml, and prop-types. storybook is written in TypeScript and swagger-ui in JavaScript.

# storybook vs swagger-ui

storybook and swagger-ui share 6 technologies: React, TanStack, react-inspector, react-syntax-highlighter, js-yaml, and prop-types. storybook is written in TypeScript and swagger-ui in JavaScript.

- [storybookjs/storybook](https://seerepo.com/r/storybookjs/storybook): Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
- [swagger-api/swagger-ui](https://seerepo.com/r/swagger-api/swagger-ui): Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

## What they share and what sets them apart

- In common: React, TanStack, react-inspector, react-syntax-highlighter, js-yaml, prop-types
- Only in storybook: Vite, react-router-dom, store2, polka, Angular, ember-source, Next.js, Preact, react-native, Svelte, Vue, Lit, @angular/platform-browser-dynamic, srvx, @next/env, Radix UI, Storybook, tmcp, valibot, @standard-schema/spec, @tmcp/adapter-valibot, @neoconfetti/react, @react-aria/live-announcer, polished, emotion, react-aria, react-aria-components, @react-types/shared, react-stately, react-transition-state, @clack/prompts, downshift, react-helmet-async, react-joyride, @devtools-ds/object-inspector, react-textarea-autosize, use-resize-observer, ansi-to-html, yaml, EJS, mdast-util-from-markdown, mdast-util-mdx, mdast-util-mdx-jsx, micromark-extension-mdxjs, qrcode.react, Zod, postcss-load-config, styled-jsx, probe-image-size, entities, @microsoft/fast-element
- Only in swagger-ui: Express, classnames, cssnano, react-copy-to-clipboard, react-immutable-pure-component, @node-oauth/oauth2-server, remarkable, dompurify, react-immutable-proptypes

## Side by side

| | storybook | swagger-ui |
|---|---|---|
| Size | 732,628 lines written, 2,806 code files | 65,181 lines written, 438 code files |
| Who writes it | 40% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, CodeRabbit, Codex, and Amp | 0% of its commits signed by AI. With Claude Code |
| Activity | Last push November 9, 2026, 63,535 commits, 91,498 stars | Last push November 6, 2026, 5,531 commits, 29,078 stars |
| Tests | 1,438 test files. 38.7% of its code files have a test that imports them | 241 test files. 21.7% 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 swagger-ui?

storybook, with 732,628 lines written; swagger-ui has 65,181.

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

### Which has more GitHub stars, storybook or swagger-ui?

storybook, with 91,498 stars; swagger-ui has 29,078.

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

### Which has more tests, storybook or swagger-ui?

storybook, with 1,438 test files; swagger-ui has 241.

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

### Which was updated more recently, storybook or swagger-ui?

storybook: its last push was on November 9, 2026, and swagger-ui's on November 6, 2026.

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

### Which has more commits signed by AI, storybook or swagger-ui?

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

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

## Sources

- storybookjs/storybook: Read on November 9, 2026, at commit f590e0e (https://github.com/storybookjs/storybook/tree/f590e0ef2431d1c440df3848a786000e1fc819c9)
- swagger-api/swagger-ui: Read on November 8, 2026, at commit d329695 (https://github.com/swagger-api/swagger-ui/tree/d3296954a6b813898d298815ac3e68daa1cf7408)

## 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.
