EntityMark
Bank/merchant logo with the full fallback ladder.
npx shadcn add @lopifi/entity-markExamples
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.
Bank and merchant logos. Rounded-square container at radius 8, --surface-sunken background, ~20% inset, object-fit: contain, saturate(0.85) at row scale. Fallback ladder: provided → resolved → deterministic monogram → category icon. Never a broken image. Spec in imagery.
More in Primitives
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section EntityMark renders in, the calculators behind its figures, and the ledger payloads that feed it.
- EntityMark, runningThe primitives showcase — live, with theme, density, grayscale and reduced-motion switches.
- Tenancy and multi-entityWhat is the boundary of one set of books?
- PrimitivesBuild these first. Everything above them inherits their mistakes. Specs for 16 React components: Money, Delta, Figure, Percent and 12 more.
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