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 { useState } from "react"import { TabBar, type TabBarItem } from "@/components/tab-bar"import { Card, CardContent } from "@/components/ui/card"const items: TabBarItem[] = [ { id: "home", label: "Home", icon: <path d="M4 10.25 12 4l8 6.25V19a1 1 0 0 1-1 1h-4.5v-5.25h-5V20H5a1 1 0 0 1-1-1Z" /> }, { id: "search", label: "Search", icon: <><circle cx="11" cy="11" r="6.25" /><path d="m20 20-4.5-4.5" /></> }, { id: "activity", label: "Activity", icon: <><path d="M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 2h-15Z" /><path d="M10 20.75a2 2 0 0 0 4 0Z" /></> }, { id: "profile", label: "Profile", icon: <><circle cx="12" cy="8.5" r="3.75" /><path d="M5.25 20c.7-3.4 3.4-5.5 6.75-5.5s6.05 2.1 6.75 5.5Z" /></> },]export default function TabBarDemo() { const [tab, setTab] = useState("home") const current = items.find((item) => item.id === tab) return ( <div className="flex w-full max-w-sm flex-col gap-4"> <Card> <CardContent> <p className="text-sm text-muted-foreground">You are viewing</p> <p className="text-lg font-semibold">{current?.label}</p> </CardContent> </Card> <TabBar items={items} value={tab} onChange={setTab} label="Sections" idBase="demo-nav" /> </div> )}