Skip to content

Add a generic header component #7057

@owenatgov

Description

@owenatgov

What

Add a distinct 'unbranded' header component.

This component will be a stripped back version of our main GOV.UK header. Specific changes will be:

  • uses our off-black background rather than the brand functional colour
  • no logo by default with the option to provide a logo as HTML
  • provides generic 15px top and bottom spacing to logos

To do this, we also need to figure out how we can best share styles between both headers.

Why

Builds on work done as part of alphagov/govuk-design-system#5268, specifically the spike in #7043.

Whilst this is new for us in terms of how we've previously dealt with 'variants' of existing components, it helps us provide something to GOV.UK-adjacent services whilst drawing a clear line between the GOV.UK header and this header.

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

  • Figure out convention for sharing styles between 2 comparents with the same 'ancestor'
  • Build the component

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Needs review 🔍

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions