Form input example

With an identifier

Give the input a specific ID.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "Has an id"
  },
  name: "hasid",
  id: "hasid"
} %>