describeDelta()
How a figure moved against the period before, good or bad by goodWhen; no "+100%" from nought. Ours (trackable-cmp, call tracking).
Install
npx shadcn@4.23.0 add https://ui.dobrin-dobrev.co.uk/r/delta.json
Into an app set up with shadcn init --base radix; the parts it uses come with it.
Files
- registry/default/lib/delta.ts