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 ChromaBlurTransition from "@/components/smoothui/chroma-blur-transition/index"import { Button } from "@/components/ui/button"const items = [ { key: "overview", title: "Overview", body: "Track your team's progress at a glance." }, { key: "billing", title: "Billing", body: "Your next invoice is due on the first of the month." }, { key: "team", title: "Team", body: "Invite colleagues and manage their access." },]export default function ChromaBlurTransitionDemo() { const [active, setActive] = useState(items[0]) return ( <div className="flex w-full max-w-md flex-col gap-4"> <div className="flex flex-wrap gap-2"> {items.map((item) => ( <Button key={item.key} size="sm" variant={active.key === item.key ? "default" : "outline"} onClick={() => setActive(item)} > {item.title} </Button> ))} </div> <ChromaBlurTransition transitionKey={active.key} className="h-64"> <div className="flex h-full flex-col justify-center gap-2 p-6"> <p className="text-lg font-semibold">{active.title}</p> <p className="text-sm text-muted-foreground">{active.body}</p> </div> </ChromaBlurTransition> </div> )}