Components (172)
Guardrail Funnel
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Guardrail Funnel…
Usage
import { GuardrailFunnel } from "ui-kit/components/guardrail-funnel";Props
| Prop | Type | Default | Description |
|---|---|---|---|
stages* | GuardrailStage[] | — | — |
title | string | "Guardrails" | — |
agent | string | — | The agent whose traffic it is – a tag with its pixel mark beside the title |
ranges | string[] | — | The ranges to switch between – e.g. ["1h", "24h", "7d"] |
range | string | — | — |
onRangeChange | (range: string) => void | — | — |
live | boolean | — | Counting as it happens – a live dot in the bar, and the agent's mark twinkles |
defaultStage | string | — | 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 |
className | string | — | — |