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 { HoverCardGroup, Mention, type Profile } from "@/components/hover-card"import { avatarImage } from "@/preview/images"const ava: Profile = { id: "ava", name: "Ava Chen", handle: "@ava", avatar: avatarImage("Ava Chen"), bio: "Design engineer. Writes about springs, gestures and the details nobody notices.", followers: 12840, following: 312,}const ben: Profile = { id: "ben", name: "Ben Ortiz", handle: "@ben", avatar: avatarImage("Ben Ortiz"), bio: "Builds input systems. Currently teaching trackpads to feel like glass.", followers: 4096, following: 188,}const cara: Profile = { id: "cara", name: "Cara Nwosu", handle: "@cara", avatar: avatarImage("Cara Nwosu"), bio: "Docs and developer experience. If it needs a paragraph, it needs a better API.", followers: 2731, following: 540,}export default function HoverCardDemo() { return ( <HoverCardGroup> <p className="w-full max-w-md text-[15px] leading-7 text-pretty text-foreground"> Last week <Mention profile={ava} /> shipped the new motion guidelines,{" "} <Mention profile={ben} /> rebuilt the gesture system on top of them, and{" "} <Mention profile={cara} /> is already writing the docs. </p> </HoverCardGroup> )}