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 { TextMorphPrimitive } from "@/components/motion-lexicon/primitives/text-morph"import { Button } from "@/components/ui/button"const labels = ["Save changes", "Saving...", "Saved"]export default function TextMorphDemo() { const [index, setIndex] = useState(0) return ( <div className="flex w-full max-w-sm flex-col items-center gap-4"> <Button variant="outline" className="w-full" onClick={() => setIndex((index + 1) % labels.length)} > <TextMorphPrimitive value={labels[index]} /> </Button> </div> )}