mljr-ui · showcase

Password Input

Password field with show/hide toggle. Datastar signal tracks visibility; data-attr swaps input type.

form password-input

Usage

form.PasswordInput(form.PasswordInputProps{
    Name:         "password",
    Placeholder:  "Enter password",
    Autocomplete: "current-password",
})