Primer CSS
CSS and Sass implementation of GitHub's Primer design system, distributed as the npm package @primer/css.
Primer CSS is the CSS implementation of GitHub’s Primer design system. It is published as the npm package @primer/css, written in Sass using SCSS syntax, and installed with npm.
Worth knowing
The repository’s README says the project is in KTLO (keep the lights on) mode. It asks users to use the existing utility classes where needed and points to Primer React or, if necessary, Primer ViewComponents for more complete patterns that include styling and markup.
Identity
Rendering and deploy
- Install with
- npm1
Releases
Adoption
Sources
- 2026-10-28: links, Categories, Written in, Install with
github.com/primer/css/blob/main/README.md - 2026-10-28: links, GitHub stars, Contributors
github.com/primer/css - 2026-10-28: First release
github.com/primer/css/releases/tag/v2.0.2 - 2026-10-28: Maintainer
github.com/about - 2026-10-28: License
github.com/primer/css/blob/main/LICENSE - 2026-10-28: Current major version, Last release
registry.npmjs.org/@primer%2Fcss - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@primer/css - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@primer%2Fcss