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
"use client"import { useRef } from "react"import { MinimapScrollbar } from "@/components/bjork-ui/navigation/minimap-scrollbar"export default function MinimapScrollbarDemo() { const ref = useRef<HTMLDivElement>(null) return ( <div className="relative w-full max-w-md"> <div ref={ref} className="h-[300px] overflow-y-auto pr-10"> <div className="grid gap-4 pb-6"> <p className="text-sm text-muted-foreground">Install the package and wrap your layout with the provider.</p> <p className="text-sm text-muted-foreground">Then drop a component into any page to start using it.</p> <p className="text-sm text-muted-foreground">Themes follow the system setting unless you pass a tone explicitly.</p> <p className="text-sm text-muted-foreground">Labels are read from the headings in the scroll container.</p> <p className="text-sm text-muted-foreground">Use the arrow keys to scroll and the brackets to jump between sections.</p> <p className="text-sm text-muted-foreground">Home and End move to the top and bottom of the document.</p> <p className="text-sm text-muted-foreground">The track exposes a scrollbar role with a live value.</p> <p className="text-sm text-muted-foreground">Section changes are announced to assistive technology.</p> </div> </div> <MinimapScrollbar target={ref} /> </div> )}