Documentation for all things Primer, including components, UI patterns, foundations, guides, and more.
This repository is evolving as our documentation needs change. See our contribution guides here.
Project board (GitHub staff only)
-
Clone this repo, e.g. with:
git clone https://github.com/primer/design
-
In the terminal, navigate (
cd
) to the repo directory -
nvm use --default
to use the correct node version. -
yarn
to install dependencies -
yarn start
to start the dev server
We deploy this site using GitHub Pages. Every push to a branch other than main
will deploy to a URL unique to the preview environment. Merges to main
will automatically deploy the site to https://primer.style/design/
.
- Our component documentation files are found here, and guidelines for adding content can be found under the Documenting components section of the Contributing guidelines.
- For a more detailed walk-through, check out this tutorial video.
- Check out our getting started guides or ping us in Slack (GitHub staff only)
- Feel free to open a pull request or issue directly in this repository, or ping us in Slack (GitHub staff only)