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 { ScrollProgress } from "@/components/velora/scroll-progress"const paragraphs = [ "Velora keeps your reading position visible as you move through long pages.", "The bar grows from left to right and tracks the scroll position of this panel.", "Smooth spring physics make the progress feel natural, even on quick scrolls.", "When reduced motion is preferred, the bar updates without the spring animation.", "Scroll further to see the indicator reach the end of the content.", "Thanks for reading through to the bottom of this example panel.",]export default function ScrollProgressDemo() { const containerRef = useRef<HTMLDivElement>(null) return ( <div className="relative w-full max-w-md overflow-hidden rounded-md border"> <ScrollProgress container={containerRef} className="absolute" /> <div ref={containerRef} className="h-64 space-y-4 overflow-y-auto p-6"> {paragraphs.map((text, i) => ( <p key={i} className="text-sm leading-relaxed text-muted-foreground"> {text} </p> ))} </div> </div> )}