@canvas-ui/particle-scroll-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 { ParticleScroll } from "@/components/canvasui/ParticleScroll"export default function ParticleScrollDemo() {  const ref = useRef<HTMLDivElement>(null)  useEffect(() => {    const container = ref.current    if (!container) return    render(      h(ParticleScroll, {        className: "h-full w-full overflow-hidden rounded-lg border",        children: h(          "section",          { className: "space-y-4 bg-background p-8 text-foreground" },          h("p", { className: "text-sm text-muted-foreground" }, "Scroll inside this box to watch the content settle."),          h("p", { className: "leading-7" }, "Sand drifts up from the lower part of the page and gathers back into the words as they pass the line."),          h("p", { className: "leading-7" }, "The text below stays fully interactive, so links and buttons still respond to clicks."),          h("div", { className: "h-40" }),          h("p", { className: "leading-7" }, "Keep scrolling to see more paragraphs dissolve and reform as they move through the transition band."),          h("div", { className: "h-40" }),          h(            "button",            { type: "button", className: "rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground" },            "Continue reading"          ),          h("div", { className: "h-40" })        ),      }),      container    )    return () => {      render(null, container)    }  }, [])  return <div ref={ref} className="h-[400px] w-full max-w-lg" />}