1. Component Guide
  2. Heading
  3. With id attribute
Heading example

With id attribute

How it looks (preview)

Detail of outcome

How to call this example

<%= render "govuk_publishing_components/components/heading", {
  text: "Detail of outcome",
  id: "detail_of_outcome"
} %>