Skip to content
SPECIFICTION
Get listed

GitHub Primer vs react-md

GitHub Primer

primer.style

react-md

react-md.dev

Side by side

FigureGitHub Primerreact-md
Price fromFreeFree
Free planYesYes
Free trial——
Open sourceYes—
WebYesYes
APIYes—
Plans published11
Spec score · UI Kit Libraries8.3 (#4)7.2 (#22)
AccessibilityPrimer includes accessibility foundations, policies, principles and frameworks for accessible experiences.More complex widgets follow W3C ARIA authoring practices for screen reader accessibility and keyboard movement.
IconsOcticons is a scalable set of icons handcrafted by GitHub.Icons can be configured with custom icons, SVG components from @react-md/material-icons, or Material Symbols.
ProductPrimer is GitHub’s design system, with guidelines, principles, and patterns for designing and building UI at GitHub.react-md is an accessible React component library styled with Sass/SCSS.

Plans

GitHub Primer

  • PrimerFree

GitHub Primer pricing →

react-md

  • react-mdFree

react-md 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

react-md

react-md is a free React component library for web interfaces, styled with Sass and SCSS. It provides more than 100 components, over 60 hooks, and 40 utilities, including building blocks for fixed headers, navigation panels, and main content areas. Styles follow Material Design and can be configured during compilation with Sass variables or at runtime with Sass functions and mixins. Customized colors are automatically updated to meet a minimum contrast ratio. More complex widgets follow W3C ARIA authoring practices for screen-reader access and keyboard movement. The default theme uses #2196f3 and #ff9100 as primary and secondary colors, with Roboto as the default font. Icons can come from custom icons, SVG components in @react-md/material-icons, or Material Symbols. Installation requires React and ReactDOM v19 or above, plus @react-md/core and sass. Documentation covers npm, pnpm, yarn, and font setup through Fontsource, Google Fonts CDN, or Next.js.

Visit react-md.dev