Primer CSS
Primer CSS is a free, open-source design system. Primer is GitHub's design system. This is the CSS implementation. It has 13,044 GitHub stars and is released under the MIT license. A live demo is linked from this page. Start a project with npx degit primer/css or clone the repository.
github.com/primer/css (opens in a new tab)
Data as of from the GitHub API; description from the project's repository. Report an error
Get started
Copy the files into a new folder with degit (no git history), or clone the repository with git.
npx degit primer/css my-ui
cd my-uigit clone --depth 1 https://github.com/primer/css.git my-uiSources: GitHub docs on template repositories, degit.
About Primer CSS
This project is in KTLO mode! Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use primer/react or, if necessary, primer/view_components.
Similar templates
More design systems
React Spectrum
adobe/react-spectrum
A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
Active · last commit Oct 27, 2026
OfficialDesign systemsTypeScriptHyperUI
markmead/hyperui
Free Tailwind CSS v4 components for your next project, designed to enhance your web development with the latest features and styles.
Maintained · last commit Oct 25, 2026
Design systemsAstroMelta UI
tsubotax/melta-ui
人間にも、AIにも、読めるデザインシステム — AI-Ready Design System for Claude Code & Cursor.
Maintained · last commit Oct 10, 2026
Design systemsTypeScriptMaterial Web
material-components/material-web
Material Design Web Components.
Active · last commit Oct 27, 2026
Design systemsSCSSElena
arielsalminen/elena
Elena is a simple, tiny library for building Progressive Web Components.
Maintained · last commit Aug 3, 2026
Design systemsJavaScriptCarbon
carbon-design-system/carbon
Website · Design · Develop · Contribute · Migrate Carbon is IBM's open-source design system for products and experiences.
Active · last commit Oct 27, 2026
Design systemsTypeScript
How do I use Primer CSS?
Copy the files into a new folder with npx degit primer/css my-ui (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.
Can I use Primer CSS for commercial projects?
Yes. Primer CSS is released under the MIT license, a permissive license that allows commercial use as long as you keep the copyright and license notice. Third-party assets bundled with it (images, fonts, icons) may have their own terms.
Is Primer CSS maintained?
The repository's most recent commit was on Oct 21, 2026. Its latest release is v22.3.0. appsgit only lists templates from repositories with a commit in the last six months.