Stride

Walk

4,152steps

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-stride

About this component

A steps card in dark glass with a warm orange light bleeding out past its lower edge: a big count, a progress bar of chevrons marching toward the goal and a pulse trace drawn on a fine grid. Press Start and the count climbs, the chevrons quicken, the trace speeds up and the light grows; at the goal the bar flashes full and the light breathes.

Triggers

  • Card
  • Glow
  • Loop
  • State change
  • Click
  • Ambient

Techniques

  • CSS variables
  • Keyframes
  • Interval
  • Gradient
  • SVG
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A section labelled Steps today. The Start / Stop button is a native button with aria-pressed and a focus ring; the bar is a progressbar with aria-valuemax 6000 and aria-valuenow; the count is text and a visually hidden polite live region announces Walking and Goal reached. The chevrons, the trace and the light are aria-hidden.

Reduced motion

The chevrons, trace and glow stand still and changes are cuts.

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

More cards

See all
Nova
Receive48
Kite
SwapGet code
TearGet code
AirGet code

ORBT

152.75, up 7.27 percent over one day

TickerGet code