1. Static Component Guide
  2. Page title
  3. Long title with context

Page title example

Long title with context

How to call this example

<%= render "govuk_component/title" {
  context: "Publication",
  title: "My page title which is often really long and verbose and has lots of extra words it doesn't need",
  average_title_length: "long"
} %>

How it looks

Publication

My page title which is often really long and verbose and has lots of extra words it doesn't need