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 { useState } from "react"import { ChevronLeftIcon, ChevronRightIcon } from "lucide-react"import { Button } from "@/components/ui/button"import { TransitionPanel } from "@/components/ui/transition-panel"const steps = [ { title: "Profile", body: "Update your name and public details." }, { title: "Security", body: "Change your password and enable two-factor authentication." }, { title: "Billing", body: "Review invoices and manage your payment methods." },]export default function TransitionPanelDemo() { const [index, setIndex] = useState(0) return ( <div className="flex w-full max-w-md flex-col gap-4"> <TransitionPanel activeIndex={index} variants={{ enter: { opacity: 0, x: 20 }, center: { opacity: 1, x: 0 }, exit: { opacity: 0, x: -20 }, }} transition={{ duration: 0.25 }} > {steps.map((step) => ( <div key={step.title} className="rounded-lg border p-6"> <p className="font-semibold">{step.title}</p> <p className="text-muted-foreground text-sm">{step.body}</p> </div> ))} </TransitionPanel> <div className="flex items-center justify-between"> <Button variant="outline" size="icon" aria-label="Previous" disabled={index === 0} onClick={() => setIndex((i) => i - 1)} > <ChevronLeftIcon /> </Button> <span className="text-muted-foreground text-sm"> {index + 1} / {steps.length} </span> <Button variant="outline" size="icon" aria-label="Next" disabled={index === steps.length - 1} onClick={() => setIndex((i) => i + 1)} > <ChevronRightIcon /> </Button> </div> </div> )}