Skip to Content
UI Kit
Components (172)

Agent Metro Map

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

Open preview
Loading Agent Metro Map…

Usage

import { AgentMetroMap } from "ui-kit/components/agent-metro-map";

Props

PropTypeDefaultDescription
lines*MetroLine[]——
stations*MetroStation[]——
titlestring"Metro map"—
onApprove(station: MetroStation) => void—Show Approve and Reject in the card of a station that's waiting – the card closes after either
onReject(station: MetroStation) => void——
onSelect( item: | { station: MetroStation; } | { line: MetroLine; } | null, ) => void—A click on a station or a line – its card opens; null when it closes
classNamestring——

On this page