ComponentsBlocksDocsExamples

Marquee
GitHub Button
Avatar Group
Typing Text
Word Rotate
Video Text
SVG Text
Counting Number
Sliding Number
Shimmering Text
Text Reveal
Gradient Background
Grid Background
Hover Background
Clock Widget
Components

Counting Number

UI Library:

Counting number with smooth animation.

Installation

pnpm dlx shadcn@latest add @toui/counting-number

Examples

Decimal

Format

API Reference

This component is built using Motion primitives and includes the following custom props:

CountingNumber

PropTypeDefault
from number0
to number100
duration number2
delay number0
className string
startOnView booleantrue
once booleanfalse
inViewMargin string
onComplete () => void
format (value: number) => string

Credits

  • Inspired by Motion
  • Built with Motion.
PreviouseSVG TextNextSliding Number

On This Page

  • Installation
  • Examples
    • Decimal
    • Format
  • API Reference
    • CountingNumber
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy