HN Reader

NewTopBestAskShowJob
Show HN: Tallya – The minimal UX foundation for count labels
score icon1
comment icon0
6 hours agoby faizanu94
Tallya (from “tally,” meaning to count, plus “-a” for action) is built after years of watching raw numbers twitch - 317 → 318 → 319 on dashboards and analytics pages. It’s a utility that turns any count into a stable, human-friendly bucket:

• 317 → 300+ • 7 321 → 7K+ • 12 345 678 → 12M+

Tallya is intentionally minimal—one function, one option (suffix). It solves two core UX problems: 1. Prevents distracting flicker when counts update 2. Improves readability and social proof (“7K+ users” vs “7321 users”)

Use Cases • Live analytics dashboards • Marketing pages with “sold” or “views” badges • Real-time leaderboards in games or social apps

Early Roadmap • v1.x: custom thresholds, locale support, exact-mode toggle, bucketing • v2.0: factory API for ultra-high-frequency formatting • v3.x: community-driven bucket strategies, integrations, plugins

I’d love your feedback on: • Does this minimal API feel right? • Which roadmap item should come next?

Check it out and contribute: https://github.com/faizanu94/tallya https://www.npmjs.com/package/tallya

```js import { getLabel } from 'tallya'; getLabel(7321, { suffix: ' users' }); // '7K users'

Let’s build the definitive count-labeling library together!

No comments