L
LocalMode

Passphrase Gate · LocalMode

A controlled passphrase screen with create and unlock modes: create renders passphrase + confirmation with a minimum-length gate and composes the password-strength-bar from caller-computed strength props; unlock renders a single field with an error surface (e.g. wrong passphrase) and busy state. Submits the passphrase via onSubmit; performs no crypto and retains no passphrase. Pairs with useEncryptedVault.

npx shadcn@latest add https://localmode.ai/r/ui/security-privacy/passphrase-gate.json
Preview Passphrase Gate on LocalMode's site (opens in a new tab)
Loading the source for ui/security-privacy/passphrase-gate…

ui/security-privacy/passphrase-gate