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 { NestedCheckbox, type CheckboxNode } from "@/components/ui/nested-checkbox"const permissions: CheckboxNode[] = [ { id: "projects", label: "Projects", children: [ { id: "projects.read", label: "Read projects" }, { id: "projects.write", label: "Edit projects" }, { id: "projects.delete", label: "Delete projects", description: "Permanently removes a project and its files." }, ], }, { id: "billing", label: "Billing", children: [ { id: "billing.view", label: "View invoices" }, { id: "billing.manage", label: "Manage payment methods" }, ], },]export default function NestedCheckboxDemo() { return ( <NestedCheckbox data={permissions} defaultValue={["projects.read", "projects.write", "billing.view"]} aria-label="Permissions" className="w-full max-w-sm" /> )}