Skip to content

Primer ViewComponents

ViewComponents for the Primer Design System

Primer ViewComponents is an implementation of the Primer Design System, using ViewComponent.

This library is in pre-release development and should not be considered stable.


Render Primer ViewComponents from templates:

<%= render( 25)) %>


In Gemfile, add:

gem "primer_view_components"

In config/application.rb, add after the application definition:

require "primer/view_components/engine"