Rxova
Skip to content

usePasswordInput

function usePasswordInput(options): UsePasswordInputResult;

Headless state for a password field: value, reveal, Caps Lock, strength, rules, and the debounced breach check. Exported so a consumer can build a completely custom renderer without reimplementing the fiddly parts — caret restoration across a type swap and abortable async checks especially.

ParameterType
optionsUsePasswordInputOptions

UsePasswordInputResult