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
"use client"import { useState } from "react"import OrganicMergeTransition from "@/components/smoothui/organic-merge-transition/index"import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardFooter, CardTitle } from "@/components/ui/card"const views = { overview: { title: "Overview", description: "Your project is on track and ready to ship.", }, settings: { title: "Settings", description: "Manage notifications and account preferences.", },}export default function OrganicMergeTransitionDemo() { const [view, setView] = useState<keyof typeof views>("overview") const current = views[view] return ( <Card className="w-full max-w-sm"> <CardContent> <OrganicMergeTransition transitionKey={view}> <div className="flex flex-col gap-1"> <CardTitle>{current.title}</CardTitle> <CardDescription>{current.description}</CardDescription> </div> </OrganicMergeTransition> </CardContent> <CardFooter className="gap-2"> <Button variant={view === "overview" ? "default" : "outline"} onClick={() => setView("overview")} > Overview </Button> <Button variant={view === "settings" ? "default" : "outline"} onClick={() => setView("settings")} > Settings </Button> </CardFooter> </Card> )}