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-tickerThe preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
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.
oxyn add number-tickerUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Roll
Odometer columns.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Currency
Cost so far.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Count up
Counts through the values.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
NumberTicker
| Prop | Type | Default | Description |
|---|---|---|---|
tickerrequired | TickerModel | — | Model. |
nowrequired | ClockMs | — | Clock. |
reduced | bool | Default::default() | Reduced motion. |
size | f32 | 28.0 | Text size px. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| — | 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
NumberTickerfromoxyn_dioxusand includePRIMITIVES_CSSplus the token stylesheet once. - A GPUI version exists:
NumberTickerElinoxyn_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.