Price Tag
v0.0.0A 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.
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.
const BasicPriceTag = () => <PriceTag amount={19.99} />; render(<BasicPriceTag />);