Skip to Content
UI Kit
Components (172)

Guardrail Funnel

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

Open preview
Loading Guardrail Funnel…

Usage

import { GuardrailFunnel } from "ui-kit/components/guardrail-funnel";

Props

PropTypeDefaultDescription
stages*GuardrailStage[]——
titlestring"Guardrails"—
agentstring—The agent whose traffic it is – a tag with its pixel mark beside the title
rangesstring[]—The ranges to switch between – e.g. ["1h", "24h", "7d"]
rangestring——
onRangeChange(range: string) => void——
liveboolean—Counting as it happens – a live dot in the bar, and the agent's mark twinkles
defaultStagestring—The stage whose catches show first (default the first that caught something)
onStageChange(id: string) => void—Called when a stage is picked – by click or Enter
onAction(stageId: string, exampleId: string) => void—Called when someone uses a card's button – Allow once, Override
classNamestring——

On this page