Billing SDK/Billing SDK

Components

Comprehensive collection of billing and subscription management components with production-ready features.

Playground

Pricing Components

Professional pricing table components designed for conversion optimization and clear feature presentation.

ComponentDescription
Pricing Table OneEssential pricing table with classic and minimal theme variants
Pricing Table TwoAdvanced pricing table with enhanced layouts and feature comparison
Pricing Table ThreeEnterprise-grade pricing table with custom styling and advanced features
Pricing Table FourModern gradient pricing table with contemporary design and smooth animations
Pricing Table FiveModern pricing table with contact us plan
Pricing Table SixContemporary pricing table featuring gradient styling, smooth animations, and an enterprise-focused plan
Pricing Table SevenFeature-comparison pricing table with aligned cards and user slider for comprehensive plan comparison

Subscription Management

Comprehensive subscription management interfaces for billing dashboards and user account management.

ComponentDescription
Manage SubscriptionComplete subscription dashboard with billing history and account details
Invoice HistoryRead-only table showing past invoices and receipts
Usage TablePer-model LLM usage with token counts, cache reads, and API cost
Update Plan CardInline plan upgrade interface with feature comparison and pricing
Update Plan DialogModal dialog for seamless plan changes with confirmation flow
Limited Offer DialogTime-sensitive promotional offers with customizable content and call-to-action buttons
Proration PreviewInteractive billing adjustment preview for subscription plan changes with cost breakdowns

Payment Processing

Comprehensive payment method selection and processing interfaces for secure checkout experiences.

ComponentDescription
Payment DetailsComplete payment details form with card details, billing information, country selection, and validation
Payment Details TwoComplete payment details form with card details, billing information, country selection, built with React Hook Form and custom validation
Payment Success DialogSuccess confirmation modal with confetti animation and next steps
Payment Method SelectorInteractive payment method selector supporting cards, digital wallets, UPI, and BNPL services
Payment CardA comprehensive final payment interface for processing transactions with card details, billing information, and visual card preview

Cancellation Management

Thoughtfully designed cancellation flows with retention strategies and user feedback collection.

ComponentDescription
Cancel Subscription DialogComprehensive cancellation flow with feedback collection and retention offers
Cancel Subscription CardCompact cancellation interface for quick subscription termination

Billing & Usage Analytics

Visual usage meters and analytics components for displaying quotas, limits, and consumption data.

ComponentDescription
Usage Meter LinearHorizontal progress bar for displaying usage percentages and limits
Usage Meter CircleCircular progress indicator for API limits and storage consumption
Detailed Usage TableDetailed usage table for showing API calls, tokens, and storage consumption
Billing SettingBilling Setting component with Tabbed navigation for billing preferences, payment method, invoices and usage limits
Billing Settings 2Inline billing preferences form with currency, tax ID, and email toggles
Upcoming ChargesPreview of upcoming billing cycle charges with itemized breakdown

Marketing & Promotion

Engagement components for announcements, promotions, and user onboarding experiences.

ComponentDescription
Top BannerPromotional banner with multiple variants for announcements and CTAs

Technical Specifications

Core Features

  • Full TypeScript Support - Complete type safety with IntelliSense
  • Theme Integration - Automatic light/dark mode with CSS variables
  • Responsive Design - Mobile-first approach with breakpoint optimization
  • Accessibility Compliance - WCAG 2.1 AA standards with screen reader support
  • Customizable Styling - CSS variables and prop-based theming system
  • Comprehensive Documentation - Usage examples, API reference, and best practices

Integration & Compatibility

  • React 18+ with hooks support
  • Next.js 13+ App Router compatibility
  • shadcn/ui design system integration
  • Tailwind CSS utility-first styling
  • npm/pnpm/yarn package manager support

Resources