Skip to content

Ticker

A large counter with the feel of a mechanical odometer at speed.

$149 once · every Pro piece

Customize

Every digit is a reel on its own spring; higher places start 15ms later, so a big change ripples from right to left. While a reel spins fast its digits stretch, fade and run accent, then sharpen and cool to bone as it settles. Digits that appear slide in from the left and the width springs, never snaps.

Install

npx shadcn@latest add @obsyde/ticker

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { Ticker } from '@/components/obsyde/ember/ticker/Ticker';

export function Example() {
  return (
    <Ticker value={12480} />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/ticker/Ticker.tsxcomponent
  • ember/ticker/ticker-demo.cssstyles
  • ember/ticker/ticker.cssstyles
  • ember/ticker/TickerDemo.tsxdemo
  • ember/effects-kit/kit.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
valueValuenumber12480
decimalsDecimalsnumber0
separatorThousands separatorbooleantrue
sizeSize (px)number72
prefixPrefixstring—
suffixSuffixstring—