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 ShaderRevealPushTransition from "@/components/smoothui/shader-reveal-push-transition/index"import { Button } from "@/components/ui/button"import { Card, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"const steps = [ { title: "Welcome", description: "Create your account in under a minute." }, { title: "Profile", description: "Tell us a little about yourself." }, { title: "All set", description: "You are ready to start using the app." },]export default function ShaderRevealPushTransitionDemo() { const [step, setStep] = useState(0) const current = steps[step] const isLast = step === steps.length - 1 return ( <Card className="w-full max-w-sm"> <ShaderRevealPushTransition transitionKey={step}> <CardHeader> <CardTitle>{current.title}</CardTitle> <CardDescription>{current.description}</CardDescription> </CardHeader> </ShaderRevealPushTransition> <CardFooter className="flex justify-between gap-2"> <Button variant="outline" disabled={step === 0} onClick={() => setStep((s) => s - 1)}> Back </Button> <Button onClick={() => setStep((s) => (isLast ? 0 : s + 1))}> {isLast ? "Restart" : "Next"} </Button> </CardFooter> </Card> )}