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 { Source, SourceTrigger, SourceContent } from "@/components/prompt-kit/source"export default function SourceDemo() { return ( <div className="w-full max-w-md text-sm leading-relaxed"> <p> The URL interface parses and normalizes web addresses <Source href="/docs/web-api/url"> <SourceTrigger label="1" /> <SourceContent title="URL - Web APIs | MDN" description="The URL interface is used to parse, construct, normalize, and encode URL strings." /> </Source> {" "} in the browser, so you can read its parts without manual string splitting <Source href="/docs/web-api/urlsearchparams"> <SourceTrigger label="2" /> <SourceContent title="URLSearchParams - Web APIs | MDN" description="The URLSearchParams interface defines utility methods to work with the query string of a URL." /> </Source> . </p> </div> )}