Ravi Katiyar

Pricing Card

Pricing

About

Pricing Card This component is designed to display subscription or product tiers. It's built to be highly reusable—all content, including fees, offers, and the decorative image, is passed via props. This ensures you can use the same component for various pricing plans.

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

import { PricingCard } from "@/components/ui/pricing-card-2"; // Adjust the import path

/**
 * A demo component to showcase the PricingCard.
 * It displays two cards with different data, demonstrating the reusability
 * and responsiveness of the component.
 */
export default function PricingCardDemo() {
  const pricingData = [
    {
      cardTitle: "NeuCard Infinity",
      joiningFeeOriginal: "₹1,499",
      joiningFeeDiscounted: "₹0",
      joiningFeeOffer: "Zero joining fee offer for limited time only",
      renewalFee: "₹1499 + GST",
      renewalFeeWaiver:
        "*Renewal Fee of Rs. 1,499 waived off on spends of Rs 3 lakh or more in the preceding year",
      decorativeImageUrl: "https://www.tataneu.com/creditcard/Right%20gradient%20strokes%201.png", // Placeholder image URL
    },
    {
      cardTitle: "NeuCard Plus",
      joiningFeeOriginal: "₹499",
      joiningFeeDiscounted: "₹0",
      joiningFeeOffer: "Zero joining fee offer for limited time only",
      renewalFee: "₹499 + GST",
      renewalFeeWaiver:
        "*Renewal Fee of Rs. 499 waived off on spends of Rs 1 lakh or more in the preceding year",
      decorativeImageUrl: "https://www.tataneu.com/creditcard/Right%20gradient%20strokes%201.png", // Placeholder image URL
    },
  ];

  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-4 sm:p-8">
      <div className="flex flex-col items-center gap-8 md:flex-row md:items-stretch">
        {pricingData.map((data, index) => (
          <PricingCard key={index} {...data} />
        ))}
      </div>
    </div>
  );
}

Dependencies

More by Ravi Katiyar

View all
  • Animated Shader Hero

    Animated Shader Hero

    3.8K
  • Hero

    Hero

    3.4K
  • Circular Gallery

    Circular Gallery

    2.9K
  • Minimalist Hero

    Minimalist Hero

    2.7K
  • Glass Calendar

    Glass Calendar

    2K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    2K
  • Feature Carousel

    Feature Carousel

    1.8K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.5K

More in Pricing

View all
  • Pricing Section

    Pricing Section

    691
  • Colorful-Pricing

    Colorful-Pricing

    93
  • pricing section

    pricing section

    175
  • Pricing Cards

    Pricing Cards

    33
  • Pricing Section

    Pricing Section

    200
  • RuixenPricing05

    RuixenPricing05

    117
  • Pricing Card

    Pricing Card

    573
  • Single Pricing Card

    Single Pricing Card

    818