Elestia Open Source Ratings
6.5

React Cosmos

Reasonable, with limits. 2nd of 6 component workshops.

React Cosmos is a long-running, actively maintained sandbox for React and React Native. You write each component state as a fixture file, and Cosmos finds and renders them. It is a sound, lighter alternative to Storybook for React-only teams that do not need generated docs or a large addon ecosystem. Most teams will still be better served by Storybook.

Best for: React or React Native teams that want a simple, fixture-based component sandbox without Storybook's weight or its docs features.

WebsiteGitHubnpm

Scores

Overall6.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

Cosmos is a well-made, maintained, safe React sandbox with a clean fixture model and good modern React and Next.js support. Storybook does the job better for most teams, with docs, addons, testing and multi-framework support, and Ladle is faster for lightweight React use. Cosmos is a reasonable pick for React teams that prefer fixtures and want React Native previews. Its small community and reliance on one main maintainer keep it below a strong recommendation.

GPT-6.2 Sol: 7.4, likely 6.3 to 8.4

Choose React Cosmos for a new React project when the main job is developing and previewing components in isolation. It has a fresher release cadence than Ladle and a straightforward fixture workflow. Storybook remains the stronger general default for teams that need generated docs and integrated tests, and Cosmos's concentrated release ownership and limited recent third-party evidence widen the range.

Needed by many5.3

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Component workshops matter mostly to teams that build design systems or large React UIs. Cosmos serves only React and React Native, which is narrower than Storybook's multi-framework reach. It is still a sizeable group, but not most JS developers.

GPT-6.2 Sol: 6.0, likely 4.9 to 7.1

Isolated previews are useful for a large group of frontend teams, especially those maintaining reusable UI. Cosmos serves React projects across web and native, while teams using Vue, Svelte, or Angular have other options. Framework surveys show React's broad use, but leave the share of teams that need a dedicated workshop uncertain.

Helps a lot7.0

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

The fixture model is clean, and recent versions support React 19, Next.js with Server Components, Vite, React Native and a detached renderer for visual test runners. It has no auto-generated docs, a small plugin set, and testing integrations that need manual work, so Storybook does more for most teams. A third-party benchmark puts its speed between Ladle and Storybook.

GPT-6.2 Sol: 7.9, likely 6.8 to 8.8

Typed fixtures, live controls, and static exports cover day-to-day component development well. Version 7.5.0 fixes stale Vite fixtures after hot reload and adds a detached renderer for external visual tests. Next.js requires manual setup, and Storybook has more built-in support for docs and interaction tests. Plain TSX gives coding agents a familiar pattern, but current performance and agent reliability remain unmeasured in this review.

Holds up over time6.5

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.5 to 7.5

The project has been active since 2014, with 7 releases in the last year, v7.5.0 two days before the read date, and a tidy issue tracker. Commit volume is modest, and the project leans on one main maintainer with no clear funding. That is the main risk over two years. Upgrades have been gentle: v7 had only minor breaking changes.

  • github releasesLastYear / commitsLastYear: 7 releases and 43 commits in the last year
  • github openIssues / closedIssues: 5 open against 513 closed
  • github.com/react-cosmos/react-cosmos/releases: Regular releases from v7.0 to v7.5; v7.0 had only minor breaking changes
  • maintainer: Mostly led by a single long-time maintainer

GPT-6.2 Sol: 7.0, likely 5.7 to 8.0

Seven releases and 43 commits in a year show ongoing maintenance, and an outside contributor's fixture watcher fix shipped in 7.5.0. The v7 migration guide documents several configuration and plugin changes. Recent releases consistently come from one maintainer, and the public sponsorship page gives little visibility into long-term funding.

Used widely4.0

How many use it, and is that growing?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

About 342k downloads in 4 weeks, up 4.6x on a year before. That is slightly above the 4.1 median, so it is holding ground, though the jump may partly come from automated installs. It has 1,054 dependent repos: well above Ladle and Histoire, but far below Storybook (12k) and Styleguidist (2.8k). Online attention is very low, with 3 Bluesky posts (all bots or feeds) and no Hacker News stories.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 341,761 against 73,606, a ratio of about 4.6 against a median of 4.1
  • dependents repos: 1,054 repos and 142 packages
  • peers Storybook downloadsLast4Weeks: Storybook has about 144M downloads, roughly 400x more
  • bluesky posts: Only 3 posts, all automated feeds

GPT-6.2 Sol: 3.9, likely 2.8 to 5.0

Downloads grew 4.64× year over year, modestly ahead of the 4.1× catalog baseline. The dependency index found 1,054 repositories and 142 packages, putting Cosmos ahead of Ladle, Histoire, and Playroom on indexed repositories and well behind Storybook. Unindexed projects and repeat installs make the direct adoption count uncertain, and three Bluesky posts provide little additional signal.

  • npm: 341,761 downloads over four weeks versus 73,606 a year earlier
  • medianDownloadsRatio: 4.1× year-over-year baseline
  • dependents: Partial index covers 1,054 repositories and 142 npm packages
  • peers: Storybook has 12,223 indexed repositories, Styleguidist 2,797, and Ladle 162
  • github.stars: 8,699 cumulative stars
  • bluesky.posts: Three posts with no likes, reposts, or replies
Vouched for4.1

Who stands behind it being good?

Claude Opus 5.5: 3.5, likely 2.0 to 5.0

Third-party comparisons describe it as a credible, maintained niche option, but most are SEO-style pages. I found no current survey data, prominent production users or recent user threads. Most community discussion is from 2022 or earlier.

GPT-6.2 Sol: 4.6, likely 3.2 to 5.9

Birchill uses Cosmos to develop the 10ten Japanese Reader extension and maintains an Rspack plugin for it. Other developers report that fixtures work well for building app components in isolation, although most of those accounts are older. Recent named adopters and measured comparisons are sparse, and State of JavaScript reports satisfaction for Storybook only among these two tools.

Safe7.0

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.5

No advisories ever, MIT licence, 13 direct dependencies, and npm trusted publishing since v7.1. The Scorecard is 5.2, held down by no code review, broad token permissions, and no SAST or fuzzing. It is a dev-time tool, which limits the impact on production.

  • advisories total: 0 advisories
  • scorecard score: 5.2; Code-Review 0, Token-Permissions 0, Pinned-Dependencies 4
  • npm dependencies: 13 direct dependencies
  • github.com/react-cosmos/react-cosmos/releases: v7.1.0 moved to npm trusted publishing

GPT-6.2 Sol: 7.0, likely 5.8 to 8.2

The package has a permissive MIT license, 13 direct dependencies, and no advisories in the supplied OSV snapshot. The project has a security policy and adopted npm trusted publishing for canary builds. The 5.2 OpenSSF Scorecard flags weak code-review and workflow-permission checks, and recent release activity is concentrated in one account.

Good

  • Fixtures are plain files that are found automatically, so each component state is easy to review in a pull request.
  • Works with React 19, Next.js (including Server Components), Vite and React Native.
  • Releases are steady (7 in the last year) and the issue tracker is kept small: 5 open against 513 closed.
  • No known advisories, MIT licence, 13 dependencies, and npm trusted publishing.

Bad

  • React only, and it has no generated documentation site, unlike Storybook or Styleguidist.
  • It has few plugins, and visual, accessibility and interaction testing take manual work compared with Storybook's addons.
  • Most of the work comes from one main maintainer, and commit activity is modest at 43 commits a year.
  • Its community is small: few current tutorials, threads or survey mentions, so AI agents and newcomers have less to draw on.

The numbers

npm downloads, 4 weeks
342k ×4.6 in a year
GitHub stars
8.7k
Commits, 12 months
43
npm version
7.5.0 Nov 2026
Versions, 12 months
7
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
5.2 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (react-cosmos/react-cosmos), npm (react-cosmos), OSV and the OpenSSF Scorecard.

Component workshops

  1. 9.1Storybook
  2. 6.5React Cosmos
  3. 6.1Playroom
  4. 5.3Histoire
  5. 5.1Ladle
  6. 3.4React Styleguidist
Compare all 6 on six scores