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
} %>
<%= render "govuk_publishing_components/components/input", {
label: {
text: "Username"
},
name: "username",
autofocus: true,
tabindex: 0
} %>