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 ShaderRevealStripesTransition from "@/components/smoothui/shader-reveal-stripes-transition/index"import { Button } from "@/components/ui/button"const pages = [ { key: "home", title: "Welcome back", body: "Here is a quick look at your workspace today." }, { key: "projects", title: "Your projects", body: "Three projects are currently in progress." }, { key: "settings", title: "Account settings", body: "Update your profile and notification preferences." },]export default function ShaderRevealStripesTransitionDemo() { const [page, setPage] = useState(pages[0]) return ( <div className="flex w-full max-w-md flex-col gap-4"> <div className="h-48 w-full overflow-hidden rounded-lg border bg-card"> <ShaderRevealStripesTransition transitionKey={page.key}> <div className="flex h-48 flex-col justify-center gap-1 p-6"> <p className="text-lg font-semibold">{page.title}</p> <p className="text-sm text-muted-foreground">{page.body}</p> </div> </ShaderRevealStripesTransition> </div> <div className="flex flex-wrap items-center gap-2"> {pages.map((p) => ( <Button key={p.key} variant={p.key === page.key ? "default" : "outline"} onClick={() => setPage(p)} > {p.key.charAt(0).toUpperCase() + p.key.slice(1)} </Button> ))} </div> </div> )}