v0.1 public beta early access on GitHub
Home / Components / ticker

TickeriOS

Odometer-style animated number — each digit rolls through a 0–9 column with a spring when the value changes. For balances, stats, and counts.

$ npx lumioui add ticker
import { Ticker } from "@/components/ui/ticker/ticker";
Tickerticker.tsx
ticker/ticker.tsx open

Live preview — the real component, driven by the props below.

Props9
value number The number to display. Rolls when it changes.
decimals? number Decimal places. Default 0.
grouped? boolean Thousands separators. Default true.
prefix? string Static prefix (e.g. "$", "+").
suffix? string Static suffix (e.g. "%", "ms").
textClassName? string Text classes — controls size/weight/color of every digit.
digitHeight? number Digit cell height in pt. Default 28 (matches text-xl).
tickHaptic? boolean Selection haptic as each column settles. Default false (opt-in).
className? string
Tickerticker.tsx
ticker/ticker.tsx open

Odometer-style animated number — each digit rolls through a 0–9 column with a spring when the value changes. For balances, stats, and counts.