M
mebius

Chart number formatting · mebius

formatCurrency (optionally without grouping), formatCurrencyParts, formatCompactCurrency (optionally with fixed digits), formatPercent (with optional fixed digits), formatNumber (counts and compact numbers), wholePercents (shares that add up to 100), formatDay and formatTime: cached Intl helpers the chart cards use for amounts, changes, axes, dates and animated counters.

npx shadcn@latest add @mebius/charts-format
Loading the source for charts-format…

charts-format