@govuk-react/phase-banner
v0.10.7
Published
Banner with solid background and bold text, rendered from children.
Downloads
27,500
Keywords
Readme
PhaseBanner
Import
import PhaseBanner from '@govuk-react/phase-banner';
Use the phase banner component to show users your service is still being worked on.
- https://govuk-react.github.io/govuk-react/?path=/docs/phase-banner
- https://design-system.service.gov.uk/components/phase-banner/
Properties
Prop | Required | Default | Type | Description
:--- | :------- | :------ | :--- | :----------
children
| | | ReactNode | Children text and links
level
| true | | string | Alpha or beta banner
margin
| | | Margin | Margin[] |
mb
| | | string | number |
padding
| | | Padding | Padding[] |