Components

Width container

Pseudo-component

A simple container to limit the width of its contents.

This is used by the page components to control the width of the page contents. Users will not typically need to use this.

Contents

Rendering...
Rendering...
Props
NameTypeDefaultDescription

Stories

Standard

A standard Width container with the width inherited from govuk-frontend.

Contents

Rendering...
Rendering...

Custom width

A Width container with a custom width set in pixels.

Contents

Rendering...
Rendering...

Full width

A Width container which does not limit the width of its contents. This is useful for some internal systems such as dashboards.

Contents

Rendering...
Rendering...