Skip to content
Back

Number TickerPro

Numbers that roll digit by digit like an odometer, or count up through the values in between; new columns slide in.

oxyn add number-ticker
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Numbers that roll digit by digit like an odometer, or count up through the values in between; new columns slide in.

When not to use

  • How full the context window is: use Context meter instead.
  • Feedback on a reply: use Response feedback instead.
  • A launch countdown with digits that roll per unit, a compact one-line variant, hours absorbing days when days are hidden, and a live state with a pulsing dot at zero: use Countdown instead.

Installation

Number Ticker is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add number-ticker

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Roll

Odometer columns.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Currency

Cost so far.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Count up

Counts through the values.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

NumberTicker

PropTypeDefaultDescription
tickerrequiredTickerModel—Model.
nowrequiredClockMs—Clock.
reducedboolDefault::default()Reduced motion.
sizef3228.0Text size px.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
—Not focusable

Accessibility

  • The final value is the accessible text (role=text); rolling digit columns are aria-hidden.

Responsive behaviour

  • New digit columns slide in; the rest keep their place.

Notes for AI

  • Import NumberTicker from oxyn_dioxus and include PRIMITIVES_CSS plus the token stylesheet once.
  • A GPUI version exists: NumberTickerEl in oxyn_gpui.
  • Props to set first: ticker, now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI