Components › Forms

Password input

A password field with a show and hide key and an optional strength meter.

Installation

npx plankui@latest add password-input

Usage

import { PasswordInput } from "@/components/ui/password-input";

<PasswordInput showStrength placeholder="Choose a password" />

API reference

PropTypeDefaultDescription
showStrengthbooleanfalseFour-step meter and the rules under the field.
...propsInputPropsEverything Input accepts, except type and trailing.

View the source on GitHub