Glance metric example

Custom heading level

A custom heading level can be specified if necessary. Defaults to a h3. The heading level does not change any styling.

How it looks (preview)

Feedback comments

35 million

How to call this example

<%= render "govuk_publishing_components/components/glance_metric", {
  name: "Feedback comments",
  figure: "35",
  measurement_display_label: "m",
  measurement_explicit_label: "million",
  heading_level: 2
} %>