1. Collections Component Guide
  2. Form hint text
  3. With margin bottom
Form hint text example

With margin bottom

The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the GOV.UK Frontend spacing scale. It defaults to a margin bottom of 3 (15px).

How it looks (preview)

You qualify if you were born in the UK before June 1960.

How to call this example

<%= render "govuk_publishing_components/components/hint", {
  text: "You qualify if you were born in the UK before June 1960.",
  margin_bottom: 9
} %>