react-styleguidist README

The project's README from github.com/styleguidist/react-styleguidist. As one markdown file: README.md.

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.

Buy Me A Coffee

Authors and license

Artem Sapegin and contributors.

Logo by Sara Vieira and Andrey Okonetchnikov.

MIT License, see the included License.md file.

react-styleguidist (styleguidist/react-styleguidist)

Searching Database…

What is this?React Styleguidist is a component development environment with a hot-reloaded dev server and a living style guide you can share with your team. It lists component propTypes and shows live, editable usage examples pulled from Markdown files.
Is this a component library or a documentation tool?It is a documentation/dev-environment tool that generates a style guide site from your existing React components, not a UI component library itself.
How do I get it running on my project?Install Styleguidist and point it at your component files following the Getting Started and Locating components guides, then run its dev server CLI to view the live style guide.
Do I need to set up webpack myself?If you use Create React App it works out of the box, but for other setups you need to configure webpack yourself so Styleguidist knows how to load your code.
Does it work with Vue components too?No, this project is React-only; Vue projects need the separate 'Vue Styleguidist' integration.
Can the dev server have custom backend endpoints?Yes, the examples show a style guide with custom Express endpoints, so you can extend the dev server with your own API routes.
Are there third-party add-ons for testing?Snapguidist adds snapshot testing, and react-styleguidist-visual adds automated visual testing using Puppeteer and pixelmatch.
Is there proof it's used in real projects?The Showcase lists real adopters like Rumble Charts, Semantic UI Components for React, and Bulma Components.
How are component examples written?Usage examples are written as live, editable code blocks inside Markdown documentation files next to each component.
Size
25.8 MB
Stars
11.1K
Age
11y
Commits · 90 Days