Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { SankeyFlow, type SankeyNode, type SankeyLink } from "@/components/bjork-ui/charts/sankey-flow"const nodes: SankeyNode[] = [ { id: "visits", label: "Visits" }, { id: "signup", label: "Sign up" }, { id: "trial", label: "Trial" }, { id: "paid", label: "Paid" }, { id: "churned", label: "Churned" },]const links: SankeyLink[] = [ { source: "visits", target: "signup", value: 1200 }, { source: "visits", target: "churned", value: 400 }, { source: "signup", target: "trial", value: 700 }, { source: "signup", target: "churned", value: 200 }, { source: "trial", target: "paid", value: 320 }, { source: "trial", target: "churned", value: 380 },]export default function SankeyFlowDemo() { return ( <div className="w-full max-w-lg"> <SankeyFlow nodes={nodes} links={links} height={320} ariaLabel="Conversion funnel" /> </div> )}