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 ofPrimer::Forms::Base, and live inapp/forms/. - Lookbook previews and pattern documentation are maintained in
lookbook/.
Source repositories
OpenProject maintains forks of the Primer libraries:
- opf/primer_view_components: ViewComponents for the Primer Design System used in OpenProject.
- opf/openproject-octicons: SVG icons and their Ruby and Angular libraries.