Skip to content
Keyboard shortcuts
Esc
Everywhere
Search the site
⌘K
Search the site
/
Show these shortcuts
?
Close what is open
Esc
Install

Primitives that know what money is.

Everything else is built from these, so every mistake here is inherited above.

Money

Integer minor units and a currency. Decimals come from the currency: JPY 0, KWD 3.

USD, 2 decimals

1,240 US Dollar and 56 cents

JPY, 0 decimals

1,240,560 Japanese Yen

KWD, 3 decimals

1,240 Kuwaiti Dinar and 560 minor units

Accounting negative

negative 1,240 US Dollar and 56 cents

Signed negative, U+2212

negative 1,240 US Dollar and 56 cents

bigint

90,071,992,547,409 US Dollar and 93 cents

Negative zero

0 US Dollar

Code shown

1,200 Euro

Converted, basis on hover

approximately 1,304 US Dollar and 12 cents

Zero, null, n/a, redacted, loading

Five renders, never value ?? 0. $0.00 for a value you don't have is a lie.

Zero, table

0 US Dollar

Zero, statement

zero

Unknown

not available

Redacted

hidden

Loading

The paren column

An invisible ) on every positive figure keeps the decimals aligned through a sign change.

Reserved paren column

Product revenue482,100 US Dollar
Services revenue118,400 US Dollar
Sales creditsnegative 3,900 US Dollar
Refundsnegative 12,040 US Dollar and 56 cents
Roundingzero
Deferred (unknown)not available
Net revenue584,559 US Dollar and 44 cents

Typical kit

Product revenue$482,100.00
Services revenue$118,400.00
Sales credits-$3,900.00
Refunds-$12,040.56
Rounding$0.00
Deferred (unknown)$0.00

The null became $0.00 and the decimals drift.

Delta

Up is good for cash and bad for burn, so polarity is required. The arrow survives grayscale.

Revenue up

12,400 US Dollar+5.3 percentvs. Aug

Burn up, inverted

8,200 US Dollar+8.1 percentvs. Aug

Burn down, inverted

negative 4,200 US Dollarnegative 4.2 percentvs. Aug

Unchanged

unchangedvs. Aug

Percent

20% → 25% is +5 points and +25% relative, so the kind is required.

Relative

+25.0 percent

Points

+5.0 percentage points

Basis points

+25 basis points

Rate, 3dp

4.250 percent

Divide by zero

not available

Rule

A single rule above a subtotal, a double rule under the total — figure column only.

Product482,100 US Dollar
Services118,400 US Dollar
Total revenue600,500 US Dollar
Total expensesnegative 457,620 US Dollar
Net income142,880 US Dollar

Figure

A figure never truncates. It steps down a whole token — 40, 28, 20 — as it grows.

8 characters

248,190 US Dollar and 24 cents

12, steps to lg

24,819,024 US Dollar

16, steps to md

2,481,902,400 US Dollar and 12 cents

Display, solitary only

248,190 US Dollar and 24 cents

StatusPill

Tint, never fill. Icon and text always — an icon alone is not a status.

Payment draftPayment scheduledPayment pendingPayment processingPayment sentPayment in transitPayment settledPayment reconciledPayment matchedPayment needs reviewPayment failedPayment returnedPayment canceledPayment overdue

Sparkline · Trend

An impression, not a chart. It draws once as it arrives, never on data change.

Net up

Net down

Trend

12,400 US Dollar+5.3 percentvs. Aug

AsOf

Relative under an hour, absolute beyond, the zone always named. One shared clock.

Minutes ago

Past an hour

With a prefix

Redacted · Reference · CurrencyBadge

Redacted is hidden, not missing. References use a slashed zero; copy takes the raw value.

Redacted

Reference

txn_8a2f…e6f7

Account

account ending 4291

Currency

USDEURKWD

Tooltip · InfoTip

A Tooltip restates what is on screen. Anything new goes in an InfoTip, which opens on press.

Truncated name

Northwind Cloud Services EMEA Ltd — Sep 2026 hosting

Full timestamp

30 Sep, 17:58

InfoTip

Available balance
235,790 US Dollar and 24 cents

EntityMark

Logo, then monogram, then category icon. Never a broken image.

CardNetworkMark

One 40 × 24 artboard for every network. An unknown one prints its name.

Color
VISAAMEXDISCVERJCBUnionPay
Mono
VISAAMEXDISCVERJCBUnionPay
A network it does not draw
Interac

The 16 components on this page

Each has a page with its four-layer spec, its dependencies, the whole source file and the one-line install. The family spec they were all built against is Primitives.

Release notes

Get component release notes

An email when a component ships or its spec changes. The components are free and MIT-licensed. Tell us what you’re building with them.

We don’t rent the list, and asking takes you off it. We use this to reply and to send the updates you asked for. To unsubscribe, reply to any email or write to hello@lopifi.com. See Privacy.