Skip to main content
  1. X-GOVUK projects
  2. GOV.UK Components
  3. Cookie banner

Cookie banner

Allow users to accept or reject cookies which are not essential to making your service work.

Content passed into the cookie banner via a block will be rendered as the cookie banner’s body.

The cookie banner also accepts one or more actions. These should be buttons or links and will be placed in a govuk-button-group at the bottom of the cookie banner.

Input

Output