Skip to content
Forms

Password Input

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

Import

tsx
import { PasswordInput } from "@cooud-ui/ui";
bash
npx cooud-ui add password-input

Examples

API Reference

Generated from the component's exported types.

PasswordInputProps

Extends Omit<InputHTMLAttributes<HTMLInputElement>, "type">

PropTypeDefaultDescription
invalid
boolean
showStrength
booleanfalseShow a 4-segment strength meter + label below the field.