
Modern, type-safe billing and subscription management components for React, built with TypeScript and Tailwind CSS. Designed to work seamlessly alongside shadcn/ui.
BillingSDK is part of the Vercel OSS Program.
Billing SDK provides production-ready UI building blocks for pricing, usage, and subscription workflows. Drop them into your app, wire up your data, and ship faster with consistent UX.
import { PricingTableOne } from "@/components/billingsdk/pricing-table-one";
const plans = [
{
id: "starter",
title: "Starter",
price: 9,
period: "month",
features: ["100 requests", "Basic support", "1 project"],
popular: false,
},
{
id: "pro",
title: "Pro",
price: 29,
period: "month",
features: ["Unlimited requests", "Priority support", "10 projects"],
popular: true,
},
];
export default function App() {
return (
<PricingTableOne
plans={plans}
title="Choose your plan"
description="Select the plan that works best for you"
onPlanSelect={(planId) => {
console.log("Selected plan:", planId);
}}
theme="classic"
size="medium"
/>
);
}
npm install
npm run dev
http://localhost:3000For complete project setup with framework integration:
# Initialize billing to a new project
npx @billingsdk/cli init
# Add individual components
npx @billingsdk/cli add pricing-table-one
Add Billing SDK components to your existing shadcn/ui project:
npx shadcn@latest add @billingsdk/[component-name]
Explore docs, guides and interactive examples:
See CONTRIBUTING.md for development setup, project structure, and contribution guidelines.
Thanks to all our amazing contributors for their support and code!
This project is licensed under the GNU General Public License (GPL), which allows you to use, modify, and distribute the software freely, provided that any derivative works are also distributed under the same license.
$ claude mcp add billingsdk \
-- python -m otcore.mcp_server <graph>