Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2.0 KiB

Frontend

GOV.UK Design System components

This service follows the guidance and recommendations from the GOV.UK Design System. This is achieved using the following libraries:

Service-specific components

Service-specific components are built using the ViewComponent framework, and can be found in app/components.

Components use HTML class names that follow the BEM methodology. We use the app-* prefix to prevent collisions with components provided by the Design System (which uses govuk-*). See Extending and modifying components in production.

Stylesheets are written using Sass (and the SCSS syntax), using the mixins and helpers provided by govuk-frontend.

Separate stylesheets are used for each component, with filenames that match the component’s namespace.

Like the components provided by the Design System, components are progressively enhanced. We use Stimulus to add any client-side JavaScript enhancements.