Primer ViewComponents
Ruby on Rails implementation of the Primer Design System, shipped as a gem of ViewComponent components.
primer.style/product/components/repositorydocs
Primer ViewComponents is the Ruby on Rails implementation of the Primer Design System, built with the ViewComponent library. A Rails application adds it as a gem from its Gemfile, and the Rails guide also has the application load the matching @primer/view-components, @primer/css and @primer/primitives packages from npm for its stylesheets and JavaScript.
Worth knowing
The README places the gem in maintenance mode. It takes no new features, components or significant enhancements; security updates, dependency bumps and critical bug fixes continue, and issues stay open without a guaranteed response. It encourages GitHub’s internal consumers to migrate to Primer React, and tells non-GitHub consumers they should consider forking a copy of the repository.
Sources
- 2026-10-28: links
raw.githubusercontent.com/primer/view_components/main/README.md - 2026-10-28: links, Written in, GitHub stars
api.github.com/repos/primer/view_components - 2026-10-28: links, Built on, Install with
primer.style/product/getting-started/rails/ - 2026-10-28: First release
rubygems.org/api/v1/versions/primer_view_components.json - 2026-10-28: Maintainer
docs.github.com/en/site-policy/github-terms/github-terms-of-service - 2026-10-28: Maintained by, License
raw.githubusercontent.com/primer/view_components/v0.53.5/LICENSE.txt - 2026-10-28: Categories
primer.style/product/components/ - 2026-10-28: Runtime, Minimum runtime
raw.githubusercontent.com/primer/view_components/v0.53.5/primer_view_components.gemspec - 2026-10-28: Current major version
api.github.com/repos/primer/view_components/releases - 2026-10-28: Last release
github.com/primer/view_components/releases/tag/v0.53.5 - 2026-10-28: Contributors
api.github.com/repos/primer/view_components/contributors - 2026-10-28: Dependent repositories, Dependent packages
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/primer_view_components