Behive Tech Registry

Price Tag

v0.0.0

A formatted price with an optional "was" price and the percentage saved. Formatting goes through `Intl.NumberFormat`, so symbols, decimals and grouping follow the locale and currency instead of being hand-rolled.

pnpm add @acme/atoms.price-tag

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

Playground
const BasicPriceTag = () => <PriceTag amount={19.99} />;

render(<BasicPriceTag />);