Number Ticker

Counts to a value when scrolled into view with locale-aware grouping and tabular figures; re-animates from the current value when it changes.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/number-ticker.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/number-ticker. You can also copy the source into components/ui/number-ticker.tsx (view on GitHub).

Usage

import { NumberTicker } from '@/components/ui/number-ticker'

Props

Component props
PropTypeDefaultNotes
valuenumber—Target value.
durationnumber1400Count length in ms (expo-out).
decimalsnumber0Fraction digits.
prefix / suffixstring''Text around the number.
startValuenumber0Where the first count starts.
localestringbrowserBCP 47 locale for grouping.
separatorbooleantrueGroup thousands (12,840).
delaynumber0Delay before the first count (ms).
  • Infinite Marquee

    Seamless looping strip with masked edge fades; pauses on hover, focus or with an optional pause button. Wraps statically under reduced motion.

  • Typewriter

    Types and deletes through phrases.

  • Scroll Text Fill

    A large editorial statement whose words light up one by one as you scroll, each rising a few pixels into place; accent words get a sweeping underline. The full sentence is exposed to screen readers…

  • Morphing Text

    Overlapping blur-morph between phrases, aligned for inline sentences; pauses on hover.

  • Charm Text

    A sentence with a few enchanted words. Hover, focus or tap one and it recolours, draws an underline and a tiny glyph pops out on a spring; click pins it on. A chip variant sets glyph pills inline…

  • Scramble Text

    Characters decode from noise into place.

See all 15 Text Animations components