Handoff flow

Pro

Work moving between agents and tools: a handoff runs along the wire between two cards and lands as light that crosses the receiver, changing it as it passes. Cells or Aurora, in Color, Single or Grey.

Pro opens soon
npx shadcn@latest add @pixilui-pro/handoff-flow

Preview

A handoff runs the wire and lands as light that changes the card it crosses.
Look
Tone

When to use

Use it when

  • An agent team at work: the lead hands off to a researcher and a writer, and each card changes as the work lands on it.
  • A run graph, a stream of requests into models, or a trace of steps that draws on as each one finishes.
  • Any place the motion should say where work went: the cards stay yours, the flow is the layer under them.

Use something else when

  • One element's own moment (a send, a success, a failure): use Aurora light.
  • A list of steps with no movement between parts: use the run timeline or the reasoning trail.
  • Decoration: every handoff stands for work that moved.

Installation

handoff-flow.tsx246 linesPro
Pro opens soon

Join the waitlist and we'll email you when PixilUI launches. The preview, props and docs stay open until then.

Pro installs with the same CLI as the free items. One command adds handoff-flow.tsx and the free aurora-light.tsx, the free agent-avatar.tsx and the free agent-status.tsx it uses; your license key goes in once, as in Installation.

{
  "registries": {
    "@pixilui-pro": {
      "url": "https://pixilui.com/r/pro/{name}.json",
      "headers": { "Authorization": "Bearer ${PIXILUI_TOKEN}" }
    }
  }
}
Terminal
npx shadcn@latest add @pixilui-pro/handoff-flow

Adds handoff-flow.tsx with aurora-light.tsx, agent-avatar.tsx and agent-status.tsx, and installs clsx and tailwind-merge. The CLI reads PIXILUI_TOKEN from .env.local; if this computer has not logged in yet, run npx pixilui@latest login once.

Usage

example.tsx
import { HandoffFlow } from "@/components/pixilui/handoff-flow";

<HandoffFlow>Save changes</HandoffFlow>

The stage is yours: lay the nodes out with grid or flex; wires follow every layout change, read each frame.

API reference

PropTypeDefault
wiresHandoffFlowWire[][]The wires between nodes.
lookRelayLook"cells"Cells (the activity mark's cells, a dithered wave) or Aurora (grey wires with one burst of color, a soft glim).
toneRelayTone"color"Color, Single (one hue per meaning) or Grey (silver light; failures stay red).
strengthRelayStrength"soft"Aurora's strength: soft (the flow) or full (Aurora light).
pausedboolean–Pauses the shared clock (every flow and Aurora light on the page).
speednumber–Runs the shared clock slower or faster (0.25 is the reference page's Slow).
childrenReact.ReactNode–The nodes (HandoffFlowNode) and anything else on the stage.

Also takes every native <div> attribute, and a ref.

Keyboard

TabMoves through the cards' own controls; the light takes no focus and no pointer.

Accessibility

  • Every canvas is aria-hidden and takes no pointer events: a screen reader hears each card's own words and status, never the light.
  • Changes the light carries are real DOM changes on the cards (the status, the words), fired as the light passes them.
  • Reduced motion (the OS setting, or data-reduced on <html>) removes every moving light: handoffs set the wire's level at once and arrivals run their changes at once.

Motion

  • A handoff runs 380ms plus the wire's length at 760px a second, on cubic-bezier(.36, 0, .27, 1.17): it leaves slowly and lands with a slight overshoot, squeezing into the port.
  • Cells: a dithered wave in the receiver's family crosses the card in 1050ms. Aurora soft: a blurred glim with a curved front crosses in 1250ms and fades as it goes.
  • Words change with the locked blur swap; a working card keeps a faint held tint (Aurora). One shared clock runs every flow, so paused and speed hold them together.

PixilUI Pro opens soon. The first 20 licenses are $99.