Relay

Agent run
Queued
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-relay

About this component

An agent run card with four agents on one line. A comet of light carries the task from one to the next: each agent lights in its own colour while it works and keeps a tick when it hands off, and the line behind the comet keeps every colour it has passed. Pause and Run again both work.

Triggers

  • Click
  • State change
  • Card
  • Gradient
  • Glow
  • Icon
  • Keyframe

Techniques

  • CSS variables
  • requestAnimationFrame
  • clip-path
  • Gradient
  • CSS transition
  • Keyframes
  • State machine
  • SVG
  • Pseudo elements

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The lane of tokens is decorative (aria-hidden); the run is told by the status line, a role="status" region that announces each step. Pause is a native button with aria-pressed and Run again a native button, both with focus rings.

Reduced motion

The card shows the finished run at once.

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

More cards

See all

All systems normal99.98%

  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
SkyGet code
Focus
Length
SprintGet code

Activity

659 commits in 16 weeks

TilesGet code
SavedYour changes are live.
Cut-inGet code