PasswordConfirmInput
v1.0.6Updated 27 Aug 2026Pairs PasswordInput with a confirm field. Forwards all PasswordInput props to the primary field; the confirm field validates equality with a red/green ring + inline match indicator.
Preview
Live · 7 storiesStackedOpen ↗
▸Why this is recommendedformpasswordconfirmmatch+2
PasswordConfirmInput — stacked.
Recommended for+14
- ✓Signup forms
- ✓Password reset flows
- ✓Set-new-password screens
Tags+6
formpasswordconfirmmatchpairstacked
Features+4
- Forwards every PasswordInput prop (rules, generator, meter)
- Equality validation with red/green ring
- Inline match / mismatch indicator under the confirm field
- Stacked or side-by-side layouts
- Optional eye toggle on the confirm field
- i18n: labels prop overrides match/mismatch text, placeholder, and toggle aria-labels
Not recommended for−2
- ✕Login (single field — use Input)
- ✕Single password without confirm (use PasswordInput)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
PropTypeRequired
passwordPrimary password value
—onPasswordChangePrimary value callback
—confirmConfirm value
—onConfirmChangeConfirm value callback
—passwordOptionsForwarded to PasswordInput
—layoutField layout
—showConfirmToggleEye toggle on confirm
—onValidityChangeValidity + error[] callback
—labelsOverride built-in UI strings (i18n)
—