Skip to main content
Components

Phase banner

Use the phase banner component to show users your service is still being worked on.

Read the Design System guidance for phase banner

Import

import * as PhaseBanner from 'govuk-react/phase-banner';

Examples

Default

Code
<PhaseBanner.Composite tag="Alpha">
  {text}
</PhaseBanner.Composite>

Beta phase tag

Code
<PhaseBanner.Composite tag="Beta">
  {text}
</PhaseBanner.Composite>

API reference

PhaseBanner.Root

Use the phase banner component to show users your service is still being worked on.

No props of its own. Other props are passed to the element it renders.

PhaseBanner.Composite

Use the phase banner component to show users your service is still being worked on.

PropType
tagRequired

The tag used by the phase banner component.

ReactNode

PhaseBanner.Content

No props of its own. Other props are passed to the element it renders.

PhaseBanner.Tag

PropType
colour"grey" | "green" | "teal" | "blue" | "light-blue" | "purple" | "magenta" | "red" | "orange" | "yellow"

PhaseBanner.Text

No props of its own. Other props are passed to the element it renders.