Dev Design Library

Passphrase Gate

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.

Passphrase Gate preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/security-privacy/passphrase-gate
Files
  • apps/ui/registry/localmode/security-privacy/passphrase-gate/passphrase-gate.tsx
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/security-privacy/password-strength-bar/password-strength-bar.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode