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.7K
  • Hero

    Hero

    3.1K
  • Circular Gallery

    Circular Gallery

    2.8K
  • Minimalist Hero

    Minimalist Hero

    2.6K
  • Floating Icons Hero Section

    Floating Icons Hero Section

    1.9K
  • Glass Calendar

    Glass Calendar

    1.8K
  • Feature Carousel

    Feature Carousel

    1.7K
  • AI Image Generator Hero

    AI Image Generator Hero

    1.4K

More in Pricing

View all
  • Pricing Section

    Pricing Section

    606
  • Pricing Card

    Pricing Card

    540
  • Pricing Section

    Pricing Section

    181
  • Colorful-Pricing

    Colorful-Pricing

    86
  • Pricing Card With Features

    Pricing Card With Features

    176
  • pricing section

    pricing section

    166
  • Pricing Cards

    Pricing Cards

    89
  • Single Pricing Card

    Single Pricing Card

    797