Back to Components
Cards

Pricing Card

Pricing plan card with title, price, period, features list, and CTA button. Includes popular or featured variant with highlight.

PropsUsage ExampleVariations

Starter

For individuals getting started

$9/month
  • Up to 5 projects
  • Basic analytics
  • Email support
Most Popular

Pro

For growing teams

$29/month
  • Unlimited projects
  • Advanced analytics
  • Priority support
  • Custom integrations

Enterprise

For large organizations

$99/month
  • Everything in Pro
  • Dedicated account manager
  • SLA guarantee
  • Custom contracts
  • On-premise option

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/pricing-card.tsx

Installation

Using shadcn CLI

npx shadcn add pricing-card --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge

Related Cards Components