Rendyn

Component library

189 components

Interaction

Number Ticker

Number Ticker animates from a starting value to the supplied value.

Interactive exampleReact Tailwind CSS

Practical React example

Reveal a metric whose actual numeric value and unit are already available.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/number-ticker.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: motion.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Reveal a metric whose actual numeric value and unit are already available

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { NumberTicker } from "@/components/magicui/number-ticker"

export function ComponentExample() {
  return (
    <NumberTicker value={100} />
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Use decimalPlaces intentionally and reserve space for the longest expected formatted number. Keep the source and time period of the metric nearby.

Customization

NumberTickerProps.value
Required; number.
NumberTickerProps.startValue
Optional; number.
NumberTickerProps.direction
Optional; "up" | "down".
NumberTickerProps.delay
Optional; number.
NumberTickerProps.decimalPlaces
Optional; number.

Integration notes

  • The count animation does not make a static number live or independently verified.
  • Avoid reannouncing every animation frame to assistive technology.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP