Behive Tech Component Registry

Price

v0.1.0Draft

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

Published to npm.pkg.github.com

  • v0.1.0 · current

Changelog

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.