1. Static Component Guide
  2. Page title
  3. With context

Page title example

With context

How to call this example

<%= render "govuk_component/title" {
  context: "Publication",
  title: "My page title"
} %>

How it looks

Publication

My page title