Classic Pricing
Clean, minimalist 3-card layout with subtle hover effects and staggered animations.Copy Markdown
Preview
A sleek, three-tiered pricing section. The middle card emphasizes the most popular plan with shadow and border highlights.
Usage with Props
You can customize the classic pricing section by passing your own tiers and content.
import { ClassicPricing, PricingPlan } from "@/components/nurav-ui/ClassicPricing";
export default function App() {
const customPlans: PricingPlan[] = [
{
name: "Standard",
price: "$15",
description: "For small teams.",
features: ["Up to 5 Projects", "Basic Support"],
},
{
name: "Ultra",
price: "$45",
description: "For growing companies.",
features: ["Unlimited Projects", "Priority Support", "Advanced Analytics"],
isPopular: true,
},
{
name: "Max",
price: "$95",
description: "For high-scale enterprises.",
features: ["Everything in Ultra", "24/7 Phone Support", "SSO Integration"],
}
];
return (
<div className="w-full">
<ClassicPricing
title="Predictable Pricing"
description="Choose a plan that works best for your team's needs."
plans={customPlans}
/>
</div>
);
}Installation
Automatic (CLI)
The fastest way to install this pricing block is using the setup CLI.
Before using the @nurav-ui alias, add this to your components.json:
{
"registries": {
"@nurav-ui": "https://nurav-ui.vercel.app/r"
}
}Or skip alias setup entirely and use the direct URL below.
npx shadcn@latest add @nurav-ui/classic-pricingAlternatively, install via direct URL (no components.json changes needed):
npx shadcn@latest add https://nurav-ui.vercel.app/r/classic-pricing.jsonManual Setup
If you prefer building it manually, you can just copy and paste the code below directly into your project.
Create the Component
Add the following code to components/nurav-ui/ClassicPricing.tsx: