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

github.com/styleguidist/react-styleguidist @v13.1.4 sqlite

repository ↗ · DeepWiki ↗ · release v13.1.4 ↗
706 symbols 1,900 edges 507 files 27 documented · 4% 1 cross-repo links
README

React Styleguidist

Isolated React component development environment with a living style guide

npm CI status Codecov Join the chat at https://gitter.im/styleguidist/styleguidist Discord Open Source Helpers

React Styleguidist is a component development environment with hot reloaded dev server and a living style guide that you can share with your team. It lists component propTypes and shows live, editable usage examples based on Markdown files. Check out the demo style guide.

React Styleguidist in action

Washing your code. A book on clean code for frontend developers

Usage

Advanced documentation

Examples

Showcase

Real projects using React Styleguidist:

Integration with other tools

Third-party tools

Resources

Change log

The change log can be found on the Releases page.

Contributing

Everyone is welcome to contribute. Please take a moment to read the contributing guidelines and the developer guide.

Sponsoring

Become a sponsor and get your logo on our Readme on GitHub with a link to your site.

Become a backer get your image on our Readme on GitHub with a link to your site.

<img src="https://opencollective.com/styleguidist/back

Extension points exported contracts — how you extend this code

DefaultExport (Interface)
(no doc)
src/client/utils/getComponent.ts
AliasedConfiguration (Interface)
(no doc)
src/scripts/make-webpack-config.ts
ExampleError (Interface)
(no doc)
src/loaders/utils/parseExample.ts
BaseComponent (Interface)
(no doc)
src/typings/RsgComponent.ts
Props (Interface)
(no doc)
examples/styled-components/src/ThemeProvider.tsx
Program (Interface)
(no doc)
src/client/utils/getAst.ts
ConfigSchemaOptions (Interface)
(no doc)
src/scripts/schemas/config.ts
Component (Interface)
(no doc)
src/typings/RsgComponent.ts

Core symbols most depended-on inside this repo

getConfig
called by 45
src/scripts/config.ts
render
called by 41
src/client/rsg-components/Styled/Styled.tsx
sanitizeConfig
called by 33
src/scripts/utils/sanitizeConfig.ts
get
called by 30
src/typings/dependencies/react-docgen.ts
getUrl
called by 22
src/client/utils/getUrl.ts
makeWebpackConfig
called by 19
src/scripts/index.esm.ts
getImports
called by 18
src/loaders/utils/getImports.ts
render
called by 16
src/client/rsg-components/TableOfContents/TableOfContents.tsx

Shape

Function 380
Interface 123
Method 117
Class 86

Languages

TypeScript100%

Modules by API surface

src/typings/dependencies/react-docgen.ts16 symbols
src/typings/RsgStyleguidistConfig.ts16 symbols
src/bin/styleguidist.js15 symbols
src/client/rsg-components/Preview/Preview.tsx13 symbols
src/scripts/utils/__tests__/mergeWebpackConfig.spec.ts9 symbols
src/client/rsg-components/Playground/Playground.tsx9 symbols
src/client/rsg-components/Editor/Editor.tsx9 symbols
site/scripts/sync.js9 symbols
src/typings/dependencies/glogg.ts8 symbols
src/client/rsg-components/ReactExample/ReactExample.tsx8 symbols
src/client/rsg-components/Props/util.ts8 symbols
src/client/rsg-components/TableOfContents/TableOfContents.tsx7 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/cli7.8.4 · 1×
@babel/core7.9.0 · 1×
@babel/plugin-proposal-class-properties7.8.3 · 1×
@babel/plugin-proposal-object-rest-spread7.6.2 · 1×
@babel/polyfill7.6.0 · 1×
@babel/preset-env7.9.0 · 1×
@babel/preset-flow7.9.0 · 1×
@babel/preset-react7.18.6 · 1×
@babel/preset-typescript7.18.6 · 1×
@charlietango/use-script2.1.1 · 1×
@docusaurus/core2.0.0-alpha.64 · 1×
@docusaurus/preset-classic2.0.0-alpha.64 · 1×

For agents

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

⬇ download graph artifact