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 ScrollIndex from "@/components/kokonutui/scroll-index"export default function ScrollIndexDemo() { return ( <ScrollIndex selector="[data-section]" className="h-[400px] w-full max-w-xl"> <article className="space-y-4 text-sm leading-relaxed text-zinc-600 dark:text-zinc-400"> <p data-section className="font-semibold text-xl text-zinc-900 dark:text-zinc-100">Introduction</p> <p>Our guides cover everything you need to get a project running, from installation to your first release.</p> <p>Start here if you are new, and jump ahead once the basics feel familiar.</p> <p data-section className="pt-6 font-semibold text-xl text-zinc-900 dark:text-zinc-100">Setup</p> <p data-section className="font-medium text-base text-zinc-900 dark:text-zinc-100">Install dependencies</p> <p>Run the install command once in the root of your project. Lockfiles keep versions consistent across machines.</p> <p data-section className="font-medium text-base text-zinc-900 dark:text-zinc-100">Configure the environment</p> <p>Copy the example environment file and fill in the values your team shares with you.</p> <p data-section className="pt-6 font-semibold text-xl text-zinc-900 dark:text-zinc-100">Usage</p> <p>Import the component where you need it and pass your own content as children.</p> <p>Each marked section becomes a tick on the rail, so readers can move quickly through long pages.</p> <p data-section className="pt-6 font-semibold text-xl text-zinc-900 dark:text-zinc-100">Next steps</p> <p>Once the setup is done, explore the rest of the documentation or open an issue if something is unclear.</p> </article> </ScrollIndex> )}