Components

Pricing Sections

Pricing sections help users understand your product offerings and choose the right plan. These components support various layouts from simple cards to detailed feature comparisons.


Component Variants

Single Pricing Card

Pro Plan

Everything you need for professional development.

$29/month
  • All core components
  • TypeScript support
  • Dark mode support
  • Responsive design
  • Priority support
  • Custom components
Get started

Highlighted Pricing Card

Most Popular

Pro Plan

Our most popular plan for teams.

$29/month
  • All core components
  • TypeScript support
  • Dark mode support
  • Responsive design
  • Priority support
  • Advanced components
Start free trial

Simple Pricing Grid (3 Tiers)

Starter

Perfect for side projects and learning.

$0/month
  • All core components
  • TypeScript support
  • Community support
  • Basic documentation
  • Priority support
  • Custom components
Get started
Most Popular

Pro

For professional developers and teams.

$29/month
  • All core components
  • TypeScript support
  • Dark mode support
  • Responsive design
  • Priority support
  • Advanced components
Start free trial

Enterprise

For large teams and organizations.

$99/month
  • All Pro features
  • Custom components
  • Dedicated support
  • SLA guarantee
  • Source code access
  • Training sessions
Contact sales

Tiered Pricing (Monthly/Yearly Toggle)

MonthlyYearlySave 20%

Basic

Essential features for small projects.

$9/month
  • All core components
  • TypeScript support
  • Community support
  • Basic documentation
  • Priority support
  • Custom components
Start free
Most Popular

Pro

Advanced features for growing teams.

$29/month
  • All core components
  • TypeScript support
  • Dark mode support
  • Responsive design
  • Priority support
  • Advanced components
Start free trial

Enterprise

Custom solutions for large organizations.

$99/month
  • All Pro features
  • Custom components
  • Dedicated support
  • SLA guarantee
  • Source code access
  • Training sessions
Contact sales

Feature Comparison Table

Feature

Free

$0/mo
Get started

Pro

$29/mo
Start trial

Enterprise

$99/mo
Contact us
Components
Core components
Advanced components
Custom components
Component library50+100+Unlimited
Support
Community support
Email support
Priority support
Response time48h24h4h
Features
Dark mode
TypeScript
Figma files
Source code

Minimal Pricing (Horizontal)

Hobby

For personal projects

Free
Get started

Pro

For professional use

$29/mo
Subscribe

Team

For teams and orgs

$79/mo
Subscribe

Usage

import {
  PricingCard,
  PricingSimple,
  PricingTiered,
  PricingComparison,
  PricingMinimal,
} from '@/components/ui/pricing';

// Single Pricing Card
<PricingCard
  name="Pro Plan"
  description="Everything you need."
  price="$29"
  period="/month"
  features={[
    { text: 'Feature 1', included: true },
    { text: 'Feature 2', included: false },
  ]}
  buttonText="Get started"
  buttonHref="/signup"
  highlighted
  badge="Popular"
/>

// Simple Pricing Grid
<PricingSimple
  tiers={[
    { name: 'Free', price: '$0', ... },
    { name: 'Pro', price: '$29', highlighted: true, ... },
    { name: 'Enterprise', price: '$99', ... },
  ]}
/>

// Tiered Pricing with Toggle
<PricingTiered
  tiers={[
    { name: 'Basic', monthlyPrice: '$9', yearlyPrice: '$86', ... },
    { name: 'Pro', monthlyPrice: '$29', yearlyPrice: '$278', ... },
  ]}
/>

// Feature Comparison
<PricingComparison
  tiers={[
    { name: 'Free', price: '$0', buttonText: 'Start', buttonHref: '#' },
    { name: 'Pro', price: '$29', highlighted: true, ... },
  ]}
  categories={[
    {
      name: 'Features',
      features: [
        { name: 'Dark mode', tiers: { Free: true, Pro: true } },
        { name: 'Support', tiers: { Free: '48h', Pro: '24h' } },
      ],
    },
  ]}
/>

// Minimal Horizontal Layout
<PricingMinimal
  tiers={[
    { name: 'Hobby', description: 'For personal projects', price: 'Free', ... },
    { name: 'Pro', description: 'For teams', price: '$29', highlighted: true, ... },
  ]}
/>

Props Reference

PricingCard

PropTypeDefaultDescription
namestringRequiredPlan name
descriptionstringRequiredPlan description
pricestringRequiredPrice display
periodstring'/month'Billing period
featuresPricingFeature[]RequiredFeature list
buttonTextstringRequiredCTA button text
buttonHrefstringRequiredCTA button link
highlightedbooleanfalseApply highlight styling
badgestring-Optional badge text

PricingFeature

PropTypeDescription
textstringFeature description
includedbooleanWhether feature is included

PricingSimple

PropTypeDefaultDescription
tiersPricingCardProps[]RequiredArray of tier configurations

PricingTiered

PropTypeDefaultDescription
tiersPricingTier[]RequiredArray of tier configurations

PricingTier

Extends PricingCardProps but replaces price/period with:

PropTypeDescription
monthlyPricestringMonthly price display
yearlyPricestringYearly price display

PricingComparison

PropTypeDefaultDescription
tiersComparisonTier[]RequiredColumn headers
categoriesComparisonCategory[]RequiredFeature categories

PricingMinimal

PropTypeDefaultDescription
tiersMinimalTier[]RequiredArray of tier configurations
Previous
Popover