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 { useEffect, useRef } from "react"import { h, render } from "preact"import { LiquidObject } from "@/components/canvasui/LiquidObject"export default function LiquidObjectDemo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const el = ref.current if (!el) return const props = { src: "/models/bottle.glb", className: "h-[400px] w-full", } as Parameters<typeof LiquidObject>[0] render(h(LiquidObject, props), el) return () => { render(null, el) } }, []) return <div ref={ref} className="w-full max-w-lg" />}