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
"use client"import { ProrationPreview } from "@/components/billingsdk/proration-preview"export default function ProrationPreviewDemo() { return ( <ProrationPreview currentPlan={{ plan: { id: "pro", title: "Pro", description: "For growing teams", monthlyPrice: "29.99", yearlyPrice: "299.99", currency: "$", buttonText: "Current plan", features: [], }, type: "monthly", price: "29.99", nextBillingDate: "2025-01-15", paymentMethod: "•••• 4242", status: "active", }} newPlan={{ id: "enterprise", title: "Enterprise", description: "For larger organizations", monthlyPrice: "99.99", yearlyPrice: "999.99", currency: "$", buttonText: "Upgrade", features: [], }} billingCycle="monthly" daysRemaining={15} effectiveDate="immediately" onConfirm={() => {}} onCancel={() => {}} /> )}