@diceui/scroll-spyloading 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 { useState } from "react"import {  ScrollSpy,  ScrollSpyLink,  ScrollSpyNav,  ScrollSpySection,  ScrollSpyViewport,} from "@/components/ui/scroll-spy"const sections = [  {    value: "introduction",    title: "Introduction",    body: "Scroll Spy highlights the navigation link for the section currently in view.",  },  {    value: "installation",    title: "Installation",    body: "Add the component to your project with the shadcn CLI and import it where you need it.",  },  {    value: "usage",    title: "Usage",    body: "Wrap your links and sections in ScrollSpy, then match each link value to a section value.",  },  {    value: "accessibility",    title: "Accessibility",    body: "Links are standard anchors, so keyboard users can move between sections as usual.",  },]export default function ScrollSpyDemo() {  const [container, setContainer] = useState<HTMLDivElement | null>(null)  return (    <ScrollSpy      defaultValue="introduction"      offset={0}      scrollContainer={container}      className="w-full max-w-lg items-start gap-6"    >      <ScrollSpyNav className="w-36 shrink-0">        {sections.map((section) => (          <ScrollSpyLink key={section.value} value={section.value}>            {section.title}          </ScrollSpyLink>        ))}      </ScrollSpyNav>      <div ref={setContainer} className="h-72 flex-1 overflow-y-auto pr-2">        <ScrollSpyViewport className="gap-10">          {sections.map((section) => (            <ScrollSpySection key={section.value} value={section.value} className="min-h-24">              <p className="font-medium">{section.title}</p>              <p className="text-sm text-muted-foreground">{section.body}</p>            </ScrollSpySection>          ))}        </ScrollSpyViewport>      </div>    </ScrollSpy>  )}