1. Collections Component Guide
  2. Form input
  3. Default
Form input example

Default

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "What is your name?"
  },
  name: "name"
} %>