react-cosmos

Dev tool for creating reusable React components

Github stars Tracking Chart

React Cosmos

npm version CircleCI Status Twitter Slack PRs Welcome

A dev environment for building scalable, high-quality user interfaces.

  • Visual TDD. Develop one component at a time. Isolate the UI you're
    working on and iterate quickly. Reloading your whole app on
    every change is slowing you down!
  • Component library. Bookmark component states, from blank states to edge
    cases. Your component library keeps you organized and provides a solid
    foundation of test cases.
  • Open platform. React Cosmos can be used in powerful ways. Including
    snapshot and visual regression testing, as well as custom integrations
    tailored to your needs.

?‍? Live demo · ? Documentation · ?Sponsor

React Cosmos

? Why React Cosmos?

React Cosmos

  • Makes developers more productive
  • Leads to high-quality, reusable UI components
  • Makes it easy to share component libraries
  • Helps with automated testing

React Cosmos is

  • An isolated component environment
  • Simple, detail-oriented and battle-tested
  • The result of over 5 years of fine-tuning
  • React-only
  • Compatible with other bundlers (aside from webpack)

React Cosmos is not

Many other similar tools have emerged since React Cosmos was created. Choose wisely based on your unique needs and personal taste.

A Brief History of React Cosmos

? Credits

Hi there. I'm Ovidiu, the core maintainer of React Cosmos. I spend ridiculous amounts of time perfecting this project because I love building user interfaces and making useful things.

React Cosmos is licensed as MIT and will always be free. If you want to support me, however, become a Sponsor and ensure this journey continues!

Special thanks to

❤️ React Cosmos is still alive because of you!

Main metrics

Overview
Name With Ownerreact-cosmos/react-cosmos
Primary LanguageTypeScript
Program languageCSS (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2014-02-05 18:48:27
Pushed At2025-06-18 17:59:27
Last Commit At
Release Count332
Last Release Namev7.0.0 (Posted on 2025-06-09 11:04:13)
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count8.5k
Watchers Count73
Fork Count360
Commits Count2.3k
Has Issues Enabled
Issues Count511
Issue Open Count5
Pull Requests Count1027
Pull Requests Open Count1
Pull Requests Close Count139
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private