In Styleguidist you write examples in Markdown, where each code snippet is rendered as a live editable playground. First, install Styleguidist: npm install --save react-styleguidist Alternatively you may use yarn: yarn add react-styleguidist Then, add these scripts to your package.json: "...