Form input example

Autofocused

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/input", {
  label: {
    text: "Username"
  },
  name: "username",
  autofocus: true,
  tabindex: 0
} %>