Design System and Component Libraries

OpenProject uses the Primer Design System. New UI is built with Primer ViewComponents rendered by Rails. Relevant reusable components from Primer as well as common patterns and compositions of these components are documented in our Lookbook.

Where to find things

  • OpenProject-specific components built on top of Primer live in app/components/op_primer/.
  • Forms are built with Primer forms: form classes inherit from ApplicationForm, a subclass of Primer::Forms::Base, and live in app/forms/.
  • Lookbook previews and pattern documentation are maintained in lookbook/.

Source repositories

OpenProject maintains forks of the Primer libraries: