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

    Hero

    3.4K
  • Circular Gallery

    Circular Gallery

    3K
  • Minimalist Hero

    Minimalist Hero

    2.8K
  • 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

    715
  • Toggle Pricing Cards

    Toggle Pricing Cards

    101
  • Pricing Card

    Pricing Card

    582
  • pricing section

    pricing section

    183
  • Pricing Section

    Pricing Section

    216
  • Review Stack Pricing

    Review Stack Pricing

    6
  • Single Plan Pricing Card

    Single Plan Pricing Card

    29
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    211