Ravi Katiyar

Pricing Section

Pricing

About

Pricing Section This is a responsive and animated pricing section component. It uses framer-motion for smooth, staggered animations and is built with shadcn/ui components like Card, Button, and Badge for a consistent look and feel. The component is highly reusable, with all content and features managed through props.

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

Code

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

Usage.tsx

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

const pricingPlans = [
  {
    planName: "Starter",
    description: "Perfect for solopreneurs.",
    price: 6,
    priceFrequency: "per month, billed yearly",
    features: [
      "Unlimited blocks",
      "Unlimited file uploads",
      "Slack integration",
      "7 day page history",
    ],
    buttonText: "Get started",
    imageSrc: "https://www.thiings.co/_next/image?url=https%3A%2F%2Flftz25oez4aqbxpq.public.blob.vercel-storage.com%2Fimage-m1zsJPdG8gluBoQ6Sj7VPAsI1uWAqE.png&w=1000&q=75",
    popular: false,
  },
  {
    planName: "Team",
    description: "Best for high-growth teams.",
    price: 20,
    priceFrequency: "per user/month, billed yearly",
    features: [
      "Everything in Starter, plus",
      "AI tools",
      "Private teamspaces",
      "Unlimited apps",
      "30 day page history",
    ],
    buttonText: "Get started",
    imageSrc: "https://www.thiings.co/_next/image?url=https%3A%2F%2Flftz25oez4aqbxpq.public.blob.vercel-storage.com%2Fimage-xa53bct38evL95XiWv4u5NKIfD6l4O.png&w=1000&q=75",
    popular: true,
  },
];

export default function PricingDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-4">
      <div className="grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-2">
        {pricingPlans.map((plan) => (
          <PricingCard key={plan.planName} {...plan} />
        ))}
      </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