Skip to Content
UI Kit
Components (172)

Handoff Relay

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Handoff Relay…

Usage

import { HandoffRelay } from "ui-kit/components/handoff-relay";

Props

PropTypeDefaultDescription
agents*RelayAgent[]——
events*RelayEvent[]——
taskstring—What the run is about, next to the title – e.g. "Summarize churn drivers from Q2 tickets"
titlestring"Handoff Relay"—
timenumber—Drive it from your own run: the elapsed time in ms – the clock and the controls step aside
autoPlaybooleantrueStarts playing on mount (default true)
speednumber1Playback 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) => stringdollarsFormats the cost – defaults to dollars, e.g. "$0.42"
classNamestring——

On this page