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 SdfBlobTransition from "@/components/smoothui/sdf-blob-transition/index"import { Button } from "@/components/ui/button"const pages = [ { id: "home", title: "Home", body: "Welcome back. Here is what changed since your last visit." }, { id: "projects", title: "Projects", body: "Three projects are currently in review and one is shipping today." }, { id: "settings", title: "Settings", body: "Update your profile, notifications, and billing details." },]export default function SdfBlobTransitionDemo() { const [pageId, setPageId] = useState("home") const page = pages.find((p) => p.id === pageId) ?? pages[0] return ( <div className="flex w-full max-w-md flex-col gap-4"> <SdfBlobTransition transitionKey={page.id} variant="merge" className="h-56 w-full"> <div className="flex h-full flex-col items-center justify-center gap-2 p-6 text-center"> <p className="text-lg font-medium">{page.title}</p> <p className="text-sm text-muted-foreground">{page.body}</p> </div> </SdfBlobTransition> <div className="flex flex-wrap items-center gap-2"> {pages.map((p) => ( <Button key={p.id} variant={p.id === pageId ? "default" : "outline"} onClick={() => setPageId(p.id)} > {p.title} </Button> ))} </div> </div> )}