This template ships with the main React configuration files you'll need to get up and running fast.
-
Install the dependencies.
Navigate into your new site’s directory and install the necessary dependencies.
# Navigate to the directory cd storybook-design-system/ # Install the dependencies yarn
-
Open the source code and start editing!
Open the
storybook-design-system
directory in your code editor of choice and building your first component!
A quick look at the top-level files and directories included with this template.
.
├── .github/workflows
├── .storybook
├── node_modules
├── public
├── src
├── .env
├── .gitignore
├── build-storybook.log
├── CHANGELOG.md
├── LICENSE
├── package.json
├── yarn.lock
└── README.md
-
.github/workflows
: This directory contains the Github actions required by Chromatic. -
.storybook
: This directory contains Storybook configuration. -
node_modules
: This directory contains all of the modules of code that your project depends on (npm packages). -
public
: This directory will contain the development and production build of the site. -
src
: This directory will contain all of the code related to what you will see on your application. -
.env
: This file will contain the necessary environment variables for your application. -
.gitignore
: This file tells git which files it should not track or maintain during the development process of your project. -
build-storybook.log
: Version Control for Storybook Components -
CHANGELOG.md
: Version Control for NPM Module and yarn/npm publish -
LICENSE
: The template is licensed under the MIT licence. -
package.json
: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project. -
yarn.lock
: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (Do not change it manually). -
README.md
: A text file containing useful reference information about the project.
- Read our introductory tutorial over at Storybook tutorials.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.