Blocks
Billing
Billing workspaces for Constructive’s own platform billing and for tenant apps billing their customers: a customer view, an operator console, and the parts they are built from.
- CustomerBilling AccountPlan, usage by credit pool, credits and gift codes, invoices, and the ledger for one personal or organization account.
billing-account - OperatorBilling ConsoleCatalog, entitlements, gift codes, customers, the payment provider with readiness, and platform database standing.
billing-console - Console KitBilling feature packThe customer workspace as a feature pack, with a Console Kit module that reads plans and subscriptions from the billing endpoint.
feature-pack-billing
Platform and tenant billing
Both templates are one workspace over the same billing modules, so the scope is data, not a separate install.
- Platform: Constructive bills its customers for databases, seats, and usage through the standard meter pools (compute, inference, storage, database, transfer, messaging).
- Tenant: a database provisioned with the b2b:saas preset bills its own customers with its own catalog and its own provider account.
- Payment providers are descriptors the host passes in: name and logo, what the provider can do, what it calls test mode, and whether it is the merchant of record. Stripe ships built in; one provider is active at a time and can be switched.
Building blocks
Every card, table, and dialog the templates use installs on its own with billing-kit.
Registry install
pnpm dlx shadcn@latest add @constructive/billing-kit