Redacted
Masked value with reveal.
npx shadcn add @lopifi/redactedExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
How it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
•••• at --text-tertiary, reveal on explicit action. Layout-stable: the masked form reserves the revealed width. Privacy-blur variant uses filter: blur(6px) + user-select: none, crossfading over 140ms so nothing reflows.
More in Primitives
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section Redacted renders in, the calculators behind its figures, and the ledger payloads that feed it.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Primitives changes
Your copy doesn’t update itself when we fix something here.
- One email when a Primitives component needs a migration
- Nothing when nothing changes
Or install it now