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 { SubscriptionManagement } from "@/components/billingsdk/subscription-management";import { plans, type CurrentPlan } from "@/lib/billingsdk-config";export default function Demo() { const currentPlan: CurrentPlan = { plan: plans[1], type: "monthly", price: "$20", nextBillingDate: "November 15, 2026", paymentMethod: "Visa ending in 4242", status: "active", }; return ( <SubscriptionManagement className="mx-auto w-full max-w-2xl" currentPlan={currentPlan} updatePlan={{ currentPlan: currentPlan.plan, plans, onPlanChange: () => {}, triggerText: "Update plan", }} cancelSubscription={{ title: "Cancel subscription", description: "Are you sure you want to cancel your subscription?", leftPanelImageUrl: "", plan: currentPlan.plan, warningTitle: "You will lose access to your account", warningText: "Canceling ends your subscription benefits at the end of the billing period.", onCancel: async () => {}, onKeepSubscription: async () => {}, }} /> );}