L
LocalMode

Vault Item Card · LocalMode

A lock-state-aware card for an encrypted note or text document: locked renders a masked body with disabled actions (no plaintext in the DOM); unlocked renders title/timestamp with reveal/hide toggling of caller-supplied decrypted content and a delete action, all via callbacks. Never receives ciphertext or key material. Pairs with useEncryptedVault.

npx shadcn@latest add https://localmode.ai/r/ui/security-privacy/vault-item-card.json
Preview Vault Item Card on LocalMode's site (opens in a new tab)
Loading the source for ui/security-privacy/vault-item-card…

ui/security-privacy/vault-item-card