About
A subscription manager for comparing plans, switching billing cycles, adjusting seats, tracking usage, cancelling with retention and reviewing invoices.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Subscription Manager to your project and fits it to your theme.
Code
How Subscription Manager is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import {
SubscriptionManager,
type SubscriptionInvoice,
type SubscriptionPlan,
type UsageMetric,
} from "@/components/ui/subscription-manager";
const PLANS: SubscriptionPlan[] = [
{
id: "starter",
name: "Starter",
tagline: "For a small team finding its rhythm.",
monthly: 29,
annual: 290,
seatsIncluded: 3,
seatPrice: 8,
features: ["3 projects", "Basic reports", "Email support"],
},
{
id: "growth",
name: "Growth",
tagline: "For teams shipping every week.",
monthly: 79,
annual: 790,
seatsIncluded: 10,
seatPrice: 10,
features: ["Unlimited projects", "Custom reports", "Priority support"],
highlight: true,
},
{
id: "scale",
name: "Scale",
tagline: "For a whole department with governance needs.",
monthly: 199,
annual: 1990,
seatsIncluded: 25,
seatPrice: 12,
features: ["Audit log", "SAML sign-in", "Dedicated support"],
},
];
const USAGE: UsageMetric[] = [
{ id: "seats", label: "Active seats", used: 12, limit: 12, unit: "seats" },
{ id: "automations", label: "Automation runs", used: 18420, limit: 25000, unit: "runs" },
{ id: "storage", label: "File storage", used: 86, limit: 100, unit: "GB" },
];
const INVOICES: SubscriptionInvoice[] = [
{ id: "INV-2026-118", date: "Nov 18, 2026", amount: 99, status: "paid" },
{ id: "INV-2026-104", date: "Oct 18, 2026", amount: 99, status: "paid" },
{ id: "INV-2026-091", date: "Sep 18, 2026", amount: 99, status: "paid" },
{ id: "INV-2026-077", date: "Aug 18, 2026", amount: 109, status: "refunded" },
{ id: "INV-2026-063", date: "Jul 18, 2026", amount: 99, status: "paid" },
{ id: "INV-2026-049", date: "Jun 18, 2026", amount: 99, status: "paid" },
];
export default function SubscriptionManagerDemo() {
return (
<main className="flex min-h-screen w-full items-center justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-6 sm:px-6">
<SubscriptionManager
variant="plain"
plans={PLANS}
currentPlanId="growth"
initialSeats={12}
usage={USAGE}
invoices={INVOICES}
paymentMethod={{ brand: "Visa", last4: "4242", expires: "08/28" }}
renewsOn="December 18, 2026"
title="Workspace subscription"
defaultSelectedPlanId="scale"
/>
</main>
);
}








