1. Component Guide
  2. Form label
  3. Default
Form label example

Default

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/label", {
  text: "National Insurance number",
  html_for: "id-that-matches-input"
} %>