Formatted US dollars from an integer amount of cents, rendered in a data element with a plain decimal value, in three sizes.

pnpm add @behivetech/atoms.price

You are viewing Price v0.1.0, snapshotted 2026-11-09. The latest is v0.1.1. Go to the latest →

Changelog up to v0.1.0

v0.1.0

Minor Changes

  • c7d056f: Add the Price atom: formatted money from integer minor units with Intl.NumberFormat, a <data value> plain decimal, locale (default en-US) and sm/md/lg sizes.