BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/cult/ui/animated-number

animated-number

cult-ui/animated-number
UnverifiedComponent

Number component with smooth counting animations and customizable formatting

Install it

npx shadcn@latest add https://raw.githubusercontent.com/nolly-studio/cult-ui/HEAD/apps/www/animated-number.json

Source

registry/default/ui/animated-number.tsxraw.githubusercontent.com/nolly-studio/cult-ui/HEAD/apps/www/animated-number.json
1"use client"
2
3import { useEffect } from "react"
4import { motion, MotionValue, useSpring, useTransform } from "motion/react"
5
6interface AnimatedNumberProps {
7 value: number
8 mass?: number
9 stiffness?: number
10 damping?: number
11 precision?: number
12 format?: (value: number) => string
13 onAnimationStart?: () => void
14 onAnimationComplete?: () => void
15}
16
17export function AnimatedNumber({
18 value,
19 mass = 0.8,
20 stiffness = 75,
21 damping = 15,
22 precision = 0,
23 format = (num) => num.toLocaleString(),
24 onAnimationStart,
25 onAnimationComplete,
26}: AnimatedNumberProps) {
27 const spring = useSpring(value, { mass, stiffness, damping })
28 const display: MotionValue<string> = useTransform(spring, (current) =>
29 format(parseFloat(current.toFixed(precision)))
30 )
31
32 useEffect(() => {
33 spring.set(value)
34 if (onAnimationStart) onAnimationStart()
35 const unsubscribe = spring.on("change", () => {
36 if (spring.get() === value && onAnimationComplete) onAnimationComplete()
37 })
38 return () => unsubscribe()
39 }, [spring, value, onAnimationStart, onAnimationComplete])
40
41 return <motion.span>{display}</motion.span>
42}

What it pulls in

npm packages

  • motion

Files it writes

  • registry/default/ui/animated-number.tsx

Facts

Registry
cult/ui
Type
registry:ui
Access
Unverified
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-11
Last confirmed
today

Go to the source

www.cult-ui.com nolly-studio/cult-ui on GitHub Raw registry item This item as JSON

More from cult/ui

All 157 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ai-instructionsai-instructionscult/uiComponentsUnverified2 deps
ai-instructions-demoai-instructions-democult/uiComponentsUnverifiedno deps
animated-number-demoanimated-number-democult/uiComponentsUnverifiedno deps
bg-animate-buttonbg-animate-buttoncult/uiComponentsUnverifiedno deps
bg-animate-button-demobg-animate-button-democult/uiComponentsUnverifiedno deps
bg-animated-fractal-dot-gridbg-animated-fractal-dot-gridcult/uiComponentsUnverified1 dep
bg-animated-fractal-dot-grid-demobg-animated-fractal-dot-grid-democult/uiComponentsUnverifiedno deps
bg-animated-gradientbg-animated-gradientcult/uiComponentsUnverified1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex