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 ShaderRevealTransition from "@/components/smoothui/shader-reveal-transition/index"import { Button } from "@/components/ui/button"const tabs = ["Overview", "Analytics", "Settings"]const descriptions: Record<string, string> = { Overview: "Your project is on track with 12 open tasks this week.", Analytics: "Visits are up 24% compared to last month.", Settings: "Manage your notifications, billing and team access.",}export default function ShaderRevealTransitionDemo() { const [tab, setTab] = useState(tabs[0]) return ( <div className="flex w-full max-w-md flex-col gap-4"> <div className="flex flex-wrap items-center gap-2"> {tabs.map((name) => ( <Button key={name} size="sm" variant={tab === name ? "default" : "outline"} onClick={() => setTab(name)} > {name} </Button> ))} </div> <ShaderRevealTransition transitionKey={tab} variant="circle" className="h-48 w-full"> <div className="flex h-full flex-col justify-center gap-2 p-6"> <p className="font-medium">{tab}</p> <p className="text-sm text-muted-foreground">{descriptions[tab]}</p> </div> </ShaderRevealTransition> </div> )}