Skip to content
appsgit

Primitives

Primitives is a free, open-source design system. Color, typography, and spacing primitives in json. It has 413 GitHub stars and is released under the MIT license. A live demo is linked from this page. Start a project with npx degit primer/primitives or clone the repository.

github.com/primer/primitives (opens in a new tab)

Get started

Copy the files into a new folder with degit (no git history), or clone the repository with git.

Copy with degit
npx degit primer/primitives my-ui
cd my-ui
Or clone with git
git clone --depth 1 https://github.com/primer/primitives.git my-ui

Sources: GitHub docs on template repositories, degit.

About Primitives

This repo contains values for color, spacing, and typography primitives for use with [Primer][primer], GitHub's design system.

Built with

  • TypeScript
GitHub preview card for primer/primitives
GitHub social preview of primer/primitives. Open the live demo for the real design.

FAQ

Primitives FAQ

Still curious? Email info@appsgit.com.

What is Primitives?

Primitives is a free, open-source design system. Color, typography, and spacing primitives in json. It has 413 GitHub stars and is released under the MIT license. A live demo is linked from this page. Start a project with npx degit primer/primitives or clone the repository.

How do I use Primitives?

Copy the files into a new folder with npx degit primer/primitives my-ui (no git history), or fork the repository on GitHub. Then follow the README for the install and dev commands.

Can I use Primitives for commercial projects?

Yes. Primitives 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 Primitives maintained?

The repository's most recent commit was on Sep 9, 2026. Its latest release is @primer/primitives@11.10.0. appsgit only lists templates from repositories with a commit in the last six months.