Password input example
  
  
With name
If no name is provided, it defaults to “password”.
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/password_input", {
  name: "user[password]"
} %>If no name is provided, it defaults to “password”.
<%= render "govuk_publishing_components/components/password_input", {
  name: "user[password]"
} %>