Studiov0.6.0
Studio/Patterns/Pricing Table

Pricing Table

Data Display

Side-by-side comparison of pricing tiers or plan features. Highlights the recommended tier. Each column shows price, features, and CTA.

Code Example

<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
  {tiers.map((tier) => (
    <div
      key={tier.name}
      className={cn(
        "rounded-lg border p-6 flex flex-col",
        tier.featured && "border-primary shadow-lg scale-105"
      )}
    >
      <h3 className="font-semibold text-lg">{tier.name}</h3>
      <div className="text-3xl font-bold mt-2">{tier.price}</div>
      <p className="text-sm text-muted-foreground mt-1">{tier.period}</p>
      <ul className="mt-6 space-y-3 flex-1">
        {tier.features.map((f) => (
          <li key={f} className="flex items-center gap-2 text-sm">
            <CheckIcon className="w-4 h-4 text-primary" />
            {f}
          </li>
        ))}
      </ul>
      <Button className="mt-6 w-full" variant={tier.featured ? "default" : "outline"}>
        {tier.cta}
      </Button>
    </div>
  ))}
</div>

Variants (2)

Column Cards

Each tier in a card with featured tier elevated

layout= "columns"highlightTier= 1

Comparison Grid

Table layout with feature rows and tier columns

layout= "table"highlightTier= 1

Guidelines

Do

  • Highlight one tier as recommended
  • Use check/cross icons for feature comparison
  • Keep tier count to 2-4
  • Show price prominently with billing period

Don't

  • Show more than 4 tiers
  • List more than 15 features
  • Use pricing tables for non-comparable items
  • Hide the CTA button below the fold

Use Cases

  • SaaS pricing pages
  • Investment tier comparison (A/B/C units)
  • Service level breakdowns
  • Credit class pricing (RCCS)

Details

Category
Data Display
Reference Component
PricingTable
Variants
2
Guidelines
4 dos, 4 donts
Back to all patterns