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 { useRef } from "react"import { useScroll } from "motion/react"import { ScrollProgress } from "@/components/motion/scroll-progress"const paragraphs = [ "Our team spent the last quarter rebuilding the core editor from the ground up. The result is faster load times and a cleaner interface for everyday writing.", "Documents now sync across devices in near real time. Conflicts are merged automatically, and you can always review the history of every change.", "We also added keyboard shortcuts for the most common actions, so you can keep your hands on the keys while you work.", "Collaboration gets a boost with live cursors, inline comments, and a simple way to share read-only links with anyone.", "Exports now support PDF, Markdown, and HTML, with options to keep styling intact or strip it for a clean plain-text copy.", "Thanks to everyone who sent feedback during the beta. Many of the improvements in this release came directly from your suggestions.",]export default function ScrollProgressDemo() { const ref = useRef<HTMLDivElement>(null) const { scrollYProgress } = useScroll({ container: ref }) return ( <div className="w-full max-w-md"> <div className="relative overflow-hidden rounded-lg border"> <ScrollProgress variant="bar" fixed={false} progress={scrollYProgress} /> <div ref={ref} className="h-72 space-y-4 overflow-y-auto p-6 text-sm leading-relaxed"> {paragraphs.map((text, i) => ( <p key={i}>{text}</p> ))} </div> </div> </div> )}