1. Finder Frontend Component Guide
  2. Form input
  3. With hint
Form input example

With hint

How it looks (preview)

Please provide your first and last name

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "What is your name?"
  },
  name: "name",
  hint: "Please provide your first and last name"
} %>