MCPcopy Index your code
hub / github.com/react-cosmos/react-cosmos

github.com/react-cosmos/react-cosmos @v7.3.0

repository ↗ · DeepWiki ↗ · release v7.3.0 ↗ · + Follow
1,130 symbols 4,207 edges 714 files 0 documented · 0%
README

Cosmos

React Cosmos

Getting Started

Choose one of the Getting Started guides to dive into React Cosmos.

Check out the Next.js integration to get started with React Server Components.

Visit reactcosmos.org/docs to view the full documentation.

Community

To chat with other community members you can join the React Cosmos Discord.

You can also ask questions, voice ideas, and share your projects on GitHub Discussions.

Our Code of Conduct applies to all React Cosmos community channels.

Contributing

Please see our CONTRIBUTING.md.

Become a Sponsor to support the ongoing development of React Cosmos.

Live Demo

Visit reactcosmos.org/demo/ for a live demo of React Cosmos.

React Cosmos

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
packages/react-cosmos-ui/src/playground.tsx
HttpsOptions (Interface)
(no doc)
packages/react-cosmos/src/cosmosConfig/types.ts
Window (Interface)
(no doc)
packages/react-cosmos-renderer/src/rendererConnect/globals.d.ts
ProcessEnv (Interface)
(no doc)
tests/helpers/envVars.ts
FixtureStateValueGroup (Interface)
(no doc)
packages/react-cosmos-ui/src/components/ValueInputTree/valueGroups.ts
MockedYargs (Interface)
(no doc)
packages/react-cosmos/src/@types/yargs.d.ts

Core symbols most depended-on inside this repo

testRenderer
called by 120
packages/react-cosmos-renderer/src/testHelpers/testRenderer.ts
selectFixture
called by 105
packages/react-cosmos-renderer/src/testHelpers/createRendererConnectTestApi.ts
isEqual
called by 93
packages/react-cosmos-core/src/utils/isEqual.ts
createValues
called by 74
packages/react-cosmos-core/src/fixtureState/createValues.ts
createCosmosConfig
called by 62
packages/react-cosmos/src/cosmosConfig/createCosmosConfig.ts
wrapDefaultExport
called by 60
packages/react-cosmos-renderer/src/testHelpers/wrapDefaultExport.ts
createValue
called by 55
packages/react-cosmos-core/src/fixtureState/createValues.ts
fixtureStateChange
called by 55
packages/react-cosmos-renderer/src/testHelpers/createRendererConnectTestApi.ts

Shape

Function 1,082
Class 26
Method 16
Interface 6

Languages

TypeScript100%

Modules by API surface

packages/react-cosmos-ui/src/components/icons/index.tsx33 symbols
packages/react-cosmos-ui/src/testHelpers/pluginMocks.ts21 symbols
packages/react-cosmos/src/cosmosConfig/createCosmosConfig.ts17 symbols
packages/react-cosmos-renderer/src/testHelpers/createRendererConnectTestApi.ts15 symbols
packages/react-cosmos/src/testHelpers/mockFs.ts14 symbols
packages/react-cosmos-renderer/src/testHelpers/components.tsx14 symbols
scripts/linkEntries.ts12 symbols
packages/react-cosmos-ui/src/plugins/FixtureSearch/FixtureSearchOverlay.tsx11 symbols
scripts/build.ts10 symbols
packages/react-cosmos-ui/src/plugins/ResponsivePreview/ResponsivePreview/style.ts9 symbols
packages/react-cosmos-ui/src/components/inputs/NumberInput.tsx9 symbols
packages/react-cosmos-dom/src/ErrorCatch.tsx9 symbols

Dependencies from manifests, versioned

@babel/core7.29.0 · 1×
@babel/preset-react7.28.5 · 1×
@babel/preset-typescript7.28.5 · 1×
@mdx-js/loader3.1.1 · 1×
@mdx-js/rollup3.1.1 · 1×
@playwright/test1.58.2 · 1×
@skidding/launch-editor2.13.2 · 1×
@svgr/webpack8.1.0 · 1×
@testing-library/react16.3.2 · 1×
@types/express4.17.25 · 1×

For agents

$ claude mcp add react-cosmos \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact