DS0
Components

PricingTable

A pricing comparison layout with tiered plans, feature lists, and CTAs.

Overview

PricingTable displays pricing plans side-by-side with feature comparisons, plan badges (popular, recommended), and call-to-action buttons.

Usage

<PricingTable
  plans={[
    { name: 'Free', price: '$0', features: ['5 projects', '1GB storage'], cta: 'Get Started' },
    { name: 'Pro', price: '$29', features: ['Unlimited projects', '100GB storage'], cta: 'Upgrade', popular: true },
    { name: 'Enterprise', price: 'Custom', features: ['Everything in Pro', 'SSO', 'SLA'], cta: 'Contact Sales' },
  ]}
/>

API Reference

PropTypeDefaultDescription
plansPricingPlan[][]Plan definitions
billingPeriod'monthly' | 'annual''monthly'Billing toggle
onSelectPlan(plan: PricingPlan) => voidPlan selection handler
ComponentWhen to Use Instead
CardGeneric content card
TableDetailed feature comparison

On this page