Get StartedComponentsStylingThemingMath & Science
MCP

Forms

Password Input

A password field with a show/hide button and a strength meter.

Markdown

Import

tsx
import { PasswordInput, PasswordStrengthMeter, passwordStrength } from "@indoku/ui"

Examples

Basic usage

Props

PasswordInput

PropTypeDefaultDescription
visibleboolean–
defaultVisibleboolean–
onVisibleChange(visible: boolean) => void–
visibilityIcon{ on: React.ReactNode; off: React.ReactNode }–Custom icons for the toggle button.

PasswordStrengthMeter

PropTypeDefaultDescription
value*number–0–4, usually from passwordStrength().
maxnumber–

* required. Style props and HTML attributes are accepted as well.

Created by @indokudev