Components (172)
Handoff Relay
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Handoff Relay…
Usage
import { HandoffRelay } from "ui-kit/components/handoff-relay";Props
| Prop | Type | Default | Description |
|---|---|---|---|
agents* | RelayAgent[] | — | — |
events* | RelayEvent[] | — | — |
task | string | — | What the run is about, next to the title – e.g. "Summarize churn drivers from Q2 tickets" |
title | string | "Handoff Relay" | — |
time | number | — | Drive it from your own run: the elapsed time in ms – the clock and the controls step aside |
autoPlay | boolean | true | Starts playing on mount (default true) |
speed | number | 1 | Playback speed (default 1) |
onHandoff | (from: RelayAgent, to: RelayAgent) => void | — | A handoff just happened during playback |
onFinish | () => void | — | The run reached its end during playback |
formatCost | (amount: number) => string | dollars | Formats the cost – defaults to dollars, e.g. "$0.42" |
className | string | — | — |