1. Component Guide
  2. Show password input (experimental)
  3. With hint
Show password input (experimental) example

With hint

How it looks (preview)

Your password must be at least twelve thousand characters

How to call this example

<%= render "govuk_publishing_components/components/show_password", {
  label: {
    text: "Please enter your password"
  },
  value: "this is my password",
  hint: "Your password must be at least twelve thousand characters"
} %>