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 { h, render } from "preact"import { useEffect, useRef } from "react"import { Frost } from "@/components/canvasui/Frost"export default function FrostDemo() { const mountRef = useRef<HTMLDivElement>(null) useEffect(() => { const el = mountRef.current if (!el) return render( h(Frost, { className: "h-full w-full", children: h( "div", { className: "flex h-full items-center justify-center p-6" }, h( "div", { className: "w-full max-w-sm rounded-xl border bg-white p-6 shadow-sm" }, h("h3", { className: "text-base font-semibold leading-none" }, "Login to your account"), h( "p", { className: "mt-2 text-sm text-gray-500" }, "Enter your email below to login to your account" ), h( "div", { className: "mt-6 grid gap-2" }, h("label", { className: "text-sm font-medium", htmlFor: "email" }, "Email"), h("input", { id: "email", type: "email", placeholder: "m@example.com", className: "h-9 w-full rounded-md border px-3 text-sm", }) ), h( "button", { type: "button", className: "mt-6 h-9 w-full rounded-md bg-black text-sm font-medium text-white", }, "Login" ) ) ), }), el ) return () => { render(null, el) } }, []) return <div ref={mountRef} className="h-[380px] w-full max-w-md overflow-hidden rounded-xl" />}