Edil Ozi

Pricing Card

Pricing 30

About

A modern, responsive pricing card component for displaying subscription plans. Supports discounts, feature lists, multiple variants, and dark/light modes. Built with customization and accessibility in mind.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pricing Card to your project and fits it to your theme.

Code

How Pricing Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import { PricingCard } from "@/components/ui/pricing-card"

function DefaultPricingDemo() {
  const basicPlan = {
    heading: "Basic Plan",
    description: "Perfect for starters",
    price: 29,
    buttonText: "Get Started",
    list: [
      "Up to 5 projects",
      "Basic analytics",
      "24/7 support",
    ],
  }

  return (
    <div className="flex justify-center p-4">
      <PricingCard {...basicPlan} />
    </div>
  )
}

function DiscountPricingDemo() {
  const proPlan = {
    heading: "Pro Plan",
    description: "For growing businesses",
    price: 99,
    discount: 20,
    buttonText: "Upgrade Now",
    listHeading: "Everything in Basic, plus:",
    list: [
      "Unlimited projects",
      "Advanced analytics",
      "Priority support",
      "Custom integrations",
    ],
  }

  return (
    <div className="flex justify-center p-4">
      <PricingCard {...proPlan} variant="outline" />
    </div>
  )
}

export { DefaultPricingDemo, DiscountPricingDemo }

Dependencies

More by Edil Ozi

View all
  • Scroll Velocity

    Scroll Velocity

    458
  • Horizontal Scroll Carousel

    Horizontal Scroll Carousel

    109
  • Custom Checkbox

    Custom Checkbox

    96
  • Toggle

    Toggle

    73
  • Accordion

    Accordion

    11
  • Drawer

    Drawer

    10
  • Infinite Scroll

    Infinite Scroll

    9

More in Pricing

View all
  • Pricing Section

    Pricing Section

    582
  • Pricing Section

    Pricing Section

    173
  • Pricing Card

    Pricing Card

    365
  • pricing section

    pricing section

    158
  • Pricing Cards

    Pricing Cards

    86
  • Colorful-Pricing

    Colorful-Pricing

    85
  • Glowing Pricing Tiers

    Glowing Pricing Tiers

    45
  • RuixenPricing05

    RuixenPricing05

    102