Stride
Walk
4,152steps
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardStride(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-strideAbout 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 all5 left
ORBT
152.75, up 7.27 percent over one day