@canvas-ui/force-field-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 { ForceField } from "@/components/canvasui/ForceField"export default function ForceFieldDemo() {  const ref = useRef<HTMLDivElement>(null)  useEffect(() => {    const container = ref.current    if (!container) return    const content = h(      "div",      { className: "flex h-full flex-col items-center justify-center gap-4 p-6 text-center" },      h("p", { className: "text-sm text-gray-200" }, "Sign in to continue to your dashboard."),      h("input", {        type: "email",        placeholder: "m@example.com",        className: "h-9 w-full max-w-xs rounded-md border border-white/20 bg-black/40 px-3 text-sm text-white outline-none",      }),      h(        "button",        {          type: "button",          className: "h-9 w-full max-w-xs rounded-md bg-white px-4 text-sm font-medium text-black",        },        "Login"      )    )    render(      h(ForceField, {        className: "w-full",        style: { height: 400 },        children: content,      }),      container    )    return () => {      render(null, container)    }  }, [])  return <div ref={ref} className="w-full max-w-lg" />}