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

Edit the code and the preview updates as you type. Every registry export is in scope — Price from this package, plus React hooks and every other component in the registry.

PlaygroundOpen in new tab
const BasicPrice = () => <Price amountCents={125000} currency="USD" />;

render(<BasicPrice />);