← Back
PasswordField
[basic]Password input with visibility toggle and strength meter
Password input with visibility toggle and strength meter
For the full interactive experience:
$ mix raxol.playground
Code
{:ok, field} =
PasswordField.init(%{
id: :pw_demo,
placeholder: "(enter password)",
width: 36
})
# Masked by default (secret: true); render with the component:
# PasswordField.render(field, %{})