Styles
Width container
Read the Design System guidance for width container
Import
import { WidthContainer } from 'govuk-react/width-container';Examples
Default
Code
<WidthContainer>
Content inside the width container
</WidthContainer>API reference
WidthContainer
No props of its own. Other props are passed to the element it renders.