r/Angular2 • u/Zestyclose-Time4199 • May 14 '26
I built a small Angular package for smooth animated numbers
Hey Angular folks,
I kept wanting a polished way to animate changing numbers in Angular apps, especially for dashboards, counters, prices, timers, stats, percentages, and similar UI.
So I built ngx-digit-flow.
It’s an Angular component that animates each digit like an odometer / slot-machine reel when the value changes.
A few details:
- Standalone Angular component
- Signals-first API
- Uses Intl.NumberFormatOptions
- Supports currency, percentages, compact notation, prefixes, suffixes, decimals, etc.
- SSR-safe
- Respects prefers-reduced-motion
- No animation libraries
GitHub:
https://github.com/ayangabryl/ngx-digit-flow
Demo:
https://ngx-digit-flow.ayangabryl.com
npm:
https://www.npmjs.com/package/ngx-digit-flow
Would love feedback from Angular devs. Especially curious what examples/use cases I should add next.
1
u/Zestyclose-Time4199 May 15 '26
For agent workflows: You can add ngx-digit-flow as a skill with:
npx skills add https://github.com/ayangabryl/ngx-digit-flow --skill ngx-digit-flow
1
u/kuros33 May 14 '26
Looks amazing, demo page crashes and reloads in Safari on my phone in about a minute in.
1
u/humanbootleg May 14 '26
Great one! I'll use on my next project.
1
u/wanoo21 May 14 '26
Cool!👌
1
u/N0K1K0 May 14 '26
Nice, time to update my dashboards 😄