Skip to main content

Publish UI Components to Control Display of Domain Data

Outline

Where a team responsible for a complex data domain needs to control the display of data across many services, create and publish user interface components for inclusion in front-end services

Rationale

HMPPS digital services may need to present domain-specific data in a visually consistent way. Distributing UI components enables the responsibility for display of domain data to stay with the team responsible for that domain.

Implementing shared UI components supports teams displaying complex data from other domains by allowing domain experts to design the display of complex data whilst enabling client teams to control how and where in their service to include and arrange components to best serve their user group

Implementation

  • The Assess Risks and Needs team provides a set of frontend components, published as an NPM package, for use when displaying risk assessment data. The team also provides an example implementation of the library components to help client teams use the library