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 { StatefulButton, type ButtonState } from "@/components/motion/button/stateful";export default function ButtonStatefulDemo() { const [state, setState] = useState<ButtonState>("idle"); const handleClick = () => { setState("loading"); setTimeout(() => setState("success"), 1500); setTimeout(() => setState("idle"), 3500); }; return ( <StatefulButton state={state} onClick={handleClick}> Save changes </StatefulButton> );}