@canvas-ui/cloth-preactloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { Cloth } from "@/components/canvasui/Cloth"export default function ClothDemo() {  const hostRef = useRef<HTMLDivElement>(null)  useEffect(() => {    const host = hostRef.current    if (!host) return    const content = h(      "div",      { className: "flex h-full flex-col justify-center gap-4 bg-background p-6" },      h(        "div",        { className: "grid gap-2" },        h("label", { htmlFor: "email", className: "text-sm font-medium leading-none" }, "Email"),        h("input", {          id: "email",          type: "email",          placeholder: "m@example.com",          className: "h-9 rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs",        }),      ),      h(        "button",        {          type: "button",          className: "h-9 rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground",        },        "Continue",      ),    )    render(h(Cloth, { style: { width: 360, height: 260 }, children: content }), host)    return () => {      render(null, host)    }  }, [])  return <div ref={hostRef} className="w-full max-w-sm" />}