Ticker

ORBT

152.75, up 7.27 percent over one day

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-ticker

About this component

A stock card with one glowing line you can scrub: a hairline follows the pointer and the price rolls to that point, while the line and the whole card turn green or coral with the move. Period chips morph the line to another series.

Triggers

  • Card
  • Glow
  • Draw
  • Morph
  • Mouse tracking
  • State change
  • Click

Techniques

  • SVG
  • stroke-dashoffset
  • requestAnimationFrame
  • Event position
  • @property
  • CSS transition
  • Keyframes
  • Radial gradient

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The chips are buttons with aria-pressed, named one day, one week and one month. The chart is a focusable role=slider: Left/Right step one point, Up/Down six, Home/End jump, Escape returns to the latest price, and aria-valuetext reads the price and change. A polite live region announces the price when the period changes.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
ZonesGet code

Design review

Live
  • Mina, speaking
  • Omar
  • Leo
  • Ama
  • Noor
8
HuddleGet code

Mira Holt

Art director

TeamGet code

Field recordings

412files

AlbumGet code