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 { FileTree, FileTreeFile, FileTreeFolder,} from "@/components/ai-elements/file-tree"export default function FileTreeDemo() { const [selectedPath, setSelectedPath] = useState("src/components/ui/button.tsx") return ( <FileTree className="w-full max-w-sm" defaultExpanded={new Set(["src", "src/components", "src/components/ui"])} selectedPath={selectedPath} onSelect={setSelectedPath} > <FileTreeFolder path="src" name="src"> <FileTreeFile path="src/app.tsx" name="app.tsx" /> <FileTreeFolder path="src/components" name="components"> <FileTreeFolder path="src/components/ui" name="ui"> <FileTreeFile path="src/components/ui/button.tsx" name="button.tsx" /> <FileTreeFile path="src/components/ui/card.tsx" name="card.tsx" /> </FileTreeFolder> <FileTreeFile path="src/components/header.tsx" name="header.tsx" /> </FileTreeFolder> <FileTreeFile path="src/main.tsx" name="main.tsx" /> </FileTreeFolder> <FileTreeFile path="package.json" name="package.json" /> <FileTreeFile path="README.md" name="README.md" /> </FileTree> )}