Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Number that animates between values v1.0.0

Use this resource to animate a key figure or a counter

New

  • 590 downloads
  • 192 likes
  • 205 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install animated-number-counter-2

First time: connect the CLI with

npx --yes palatekit@latest login

The agent adds a React (Tailwind) component to your page that animates number changes. It can start when the number becomes visible on screen. You adapt the content and style to your project and get a component ready to use.

Mostly picked by

Updated November 2, 2026

Details

Generates with
Your agent's model
Uses
  • React
  • Tailwind CSS
  • lucide-react
  • motion
  • clsx
  • tailwind-merge
Licence
MIT

Similar resources

View all

What you get

  • README.md: usage guide
  • animated-number-basic.tsx: the author's original file
  • animated-number-counter.tsx: the author's original file
  • animated-number-in-view.tsx: the author's original file
  • page.mdx: the author's original file

Good fit for

  • Key figures on a home page
  • Quantity counter in a cart
  • Dashboard statistics

Not for

  • A site without React or Tailwind CSS, without adapting it
  • A motion-sensitive audience, without adding prefers-reduced-motion

Tags

  • number
  • counter
  • key figures
  • animation
  • react

About

You say

"Animate my key figures so they count up to their value when the section comes into view."

A number that changes value with a smooth animation.

Component published by ibelick (Motion Primitives) under the MIT license, resource page and guide written by PalateKit.

Show more

Prerequisites

You bring
Your React project with Tailwind CSS and Your colors and texts
Dependencies
React, Tailwind CSS, lucide-react, motion, clsx, and tailwind-merge

How to use it

  1. Copy animated-number.tsx into your React project's components folder.
  2. Install the required packages: lucide-react, motion, clsx, tailwind-merge.
  3. Ask the agent to place the component on the page and match it to your brand.

Content preview

Files

  • app/docs/animated-number/animated-number-basic.tsx1.1 KB
  • app/docs/animated-number/animated-number-counter.tsx0.9 KB
  • app/docs/animated-number/animated-number-in-view.tsx0.7 KB
  • app/docs/animated-number/page.mdx2.3 KB
  • components/core/animated-number.tsx0.8 KB
  • LICENSE1.1 KB
  • NOTICE-PALATEKIT.md0.4 KB
  • README.md1 KB

Origin and licence

Modified by PalateKit

Author
ibelick (Motion Primitives)
Source
github.com/ibelick/motion-primitives/tree/120f64f6ca60348e251f929e9c81f11ccbe45eda/components/core/animated-number.tsx
Licence
MIT

Notice

Version modifiée de « animated-number » (ibelick (Motion Primitives), MIT) : traduction française et fiche par PalateKit.

User reviews

–

No ratings yet

Loading reviews…

Delete your review?

Your rating and comment will be removed from the page.

Frequently asked questions

Which packages do I install?

React, Tailwind CSS and lucide-react, motion, clsx, tailwind-merge.

Does it work without Next.js?

Yes, in any React project with Tailwind CSS; just drop the "use client" directive if your tooling does not support it.