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 { PricingTable, type BillingPeriod, type PricingPlan } from "@/components/ui/pricing-table"import { Label } from "@/components/ui/label"import { Switch } from "@/components/ui/switch"const plans: PricingPlan[] = [ { id: "starter", name: "Starter", description: "For side projects.", price: { monthly: 0, yearly: 0 }, cta: "Start free", features: ["Up to 3 projects", "Community support"], }, { id: "pro", name: "Pro", description: "For growing teams.", price: { monthly: 12, yearly: 120 }, unit: "per seat / month", cta: "Upgrade to Pro", recommended: true, featuresIntro: "Everything in Starter, plus", features: ["Unlimited projects", { label: "Priority support", hint: "Replies within four business hours." }, "Custom domains"], }, { id: "team", name: "Team", description: "For larger organizations.", price: { monthly: 30, yearly: 300 }, unit: "per seat / month", cta: "Contact sales", featuresIntro: "Everything in Pro, plus", features: ["SSO and audit logs", { label: "Dedicated success manager", included: false }], },]export default function PricingTableDemo() { const [period, setPeriod] = useState<BillingPeriod>("yearly") return ( <div className="flex w-full max-w-2xl flex-col gap-4"> <div className="flex items-center justify-end gap-2"> <Label htmlFor="billing">Bill yearly</Label> <Switch id="billing" checked={period === "yearly"} onCheckedChange={(checked) => setPeriod(checked ? "yearly" : "monthly")} /> </div> <PricingTable plans={plans} period={period} currentPlan="starter" /> </div> )}