Skip to content
SPECIFICTION
Get listed

GitHub Primer vs GOV.UK Design System

GitHub Primer

primer.style

GOV.UK Design System

design-system.service.gov.uk

Side by side

FigureGitHub PrimerGOV.UK Design System
Price fromFreeFree
Free planYesYes
Free trial——
Open sourceYes—
WebYesYes
APIYes—
Self-hosted—Yes
Plans published11
Spec score · UI Kit Libraries8.3 (#4)7.9 (#9)
AccessibilityPrimer includes accessibility foundations, policies, principles and frameworks for accessible experiences.The team describes accessibility work as continuous and iterative, and says using the system alone does not make a service accessible.
ComponentsThe Product UI documentation catalogs dozens of components including buttons, dialogs, forms, navigation, tables and overlays.It provides reusable interface components with usage guidance and coded examples.
PatternsPrimer documents common workflow patterns such as create, edit, delete, search, filter and view.Its patterns offer design solutions for specific user-focused tasks and page types, with written guidance and coded examples where possible.
SupportThe Figma libraries page directs questions to GitHub’s #primer-figma Slack channel or the github/primer repository issue tracker.The team focuses support on central UK government digital services and says it cannot reliably provide guidance for different contexts.

Plans

GitHub Primer

  • PrimerFree

GitHub Primer pricing →

GOV.UK Design System

  • GOV.UK Design SystemFree

GOV.UK Design System pricing →

In their own words

GitHub Primer

GitHub Primer is a free, open-source design system for designing and building GitHub interfaces. Its guidance covers product UI components, patterns, and design tokens for color, spacing, and typography. Primer Brand addresses marketing websites and other digital experiences. React documentation explains theming, recommended practices, and component extension. Primer also provides accessibility guidance and tools, along with Octicons, GitHub’s scalable icon set. Product UI documentation includes an MCP server page. Component status is identified as experimental, ready, or deprecated; ready components are described as mature with long-term support expected. Primer Web and Primer Primitives are available through the Primer Figma Community page, while GitHub’s Figma organization is limited to GitHub team members. The Primer Mobile Figma library is internal only. GitHub employees alone can contribute to Primer Web because of Figma’s open-source file handling. GitHub’s Design Infrastructure and Design Engineering teams maintain the CSS framework, documentation, tools, libraries, and component libraries.

Visit primer.style

GOV.UK Design System

The GOV.UK Design System helps government teams build services with shared styles, reusable components and patterns for user-focused tasks. Its guidance covers page structure, typography, colour and images; components include coded examples, and patterns address particular tasks and page types. Published guidance includes details about user-research testing. Teams can add GOV.UK Frontend through npm or include compiled files. In production projects, components can be used as HTML or as Nunjucks macros when Frontend is installed with npm and the application uses Node.js. Prototyping requires GOV.UK Prototype Kit version 7 or later. The code is public under the MIT License, and the listed plan is free. The system aims for WCAG level AA compliance, but its use alone does not make a service accessible; component accessibility checks combine tools, automated deployment tests and manual testing. The Government Digital Service maintains the system, with a focus on central UK government digital services. Support may be limited for other contexts. Compiled files include all Frontend CSS and JavaScript, without selective component assets or a customizable build.

Visit design-system.service.gov.uk