Reference
Copyable transaction/account ID with disambiguated glyphs.
npx shadcn add @lopifi/referenceExamples
The same component, case by case. Each stage is the shipped code with the props it shows; switch to Code for the usage.
Untruncated
Where the whole string must be checked by eye, such as an IBAN on a payment review, turn truncation off.
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.
Transaction and account IDs. "zero" 1, "ss02" 1 keeps 0/O and 1/l/I distinct, because people retype these into other systems. Click copies the raw value. Truncates in the middle (txn_8a2…f091), never at the end, because the tail is what tells two IDs apart.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Primitives
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section Reference 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