About
A super clean single pricing card with features and testimonials.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Single Pricing Card to your project and fits it to your theme.
Code
How Single Pricing Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { Check, ChevronRight, CreditCard, Crown, ExternalLink, Heart, Shield, ShoppingCart, Stars } from "lucide-react"
import { SinglePricingCard, type Testimonial } from "@/components/blocks/single-pricing-card"
export function PricingSectionBasic() {
const features = [
"Modern Next.js 14 App Router",
"TypeScript and Tailwind CSS",
"Supabase Auth Integration",
"Database Tables and Schema",
"Responsive Dashboard Layout",
"50+ UI Components",
"Dark Mode Support",
"Authentication Flows",
"SEO Optimized",
"Performance Optimized",
"Email Templates",
"Premium Support",
].map((text) => ({ text }))
const testimonials: Testimonial[] = [
{
id: 1,
name: "Alex Johnson",
role: "Full Stack Developer",
company: "TechFlow",
content:
"This starter template saved me weeks of setup time. The Supabase integration is flawless, and the UI components are beautiful and easy to customize. Worth every penny!",
rating: 5,
avatar: "https://cdn.21st.dev/assets/mirror/a6/a634d4f02fe5b77804943c1d74b8d70e35ffe26454e0e9af9717432a2c72bfde.jpg",
},
{
id: 2,
name: "Sarah Miller",
role: "Frontend Engineer",
company: "DesignHub",
content:
"I've used many starter templates, but this one stands out for its clean architecture and attention to detail. The TypeScript support is excellent, and the documentation is comprehensive.",
rating: 5,
avatar: "https://cdn.21st.dev/assets/mirror/d8/d8dab29a5736d5c2b0084d720d3db02c785560071609be501541922928fdf831.jpg",
},
{
id: 3,
name: "Michael Chen",
role: "Product Manager",
company: "InnovateLabs",
content:
"Our team was able to launch our MVP in record time thanks to this template. The authentication flow and user management features worked right out of the box. Highly recommended!",
rating: 5,
avatar: "https://cdn.21st.dev/assets/mirror/07/07b2fa37a61afa65b8e621b24da7408d287751fd5e7dcc887855ce077faaa425.jpg",
},
{
id: 4,
name: "Emily Rodriguez",
role: "UX Designer",
company: "CreativeCraft",
content:
"The dark mode implementation is perfect, and the components are accessible by default. As a designer, I appreciate the attention to detail and the clean, modern aesthetic.",
rating: 4,
avatar: "https://cdn.21st.dev/assets/mirror/ee/ee794ad2b1016f820a8dffbfe5602d0ef612da197096715c1b200aac385c0017.jpg",
},
{
id: 5,
name: "David Park",
role: "CTO",
company: "StartupForge",
content:
"We evaluated several starter templates for our new project, and this one was by far the most complete. The code quality is excellent, and the structure makes it easy to extend.",
rating: 5,
avatar: "https://cdn.21st.dev/assets/mirror/9a/9aac54d62e727561f6958213b8a3649230a3bba61ba5ddf63c69d3c6e4aecb0a.jpg",
},
{
id: 6,
name: "Olivia Martinez",
role: "Product Owner",
company: "InnovateX",
content:
"After evaluating several solutions, we chose this one for its flexibility and robust feature set. The onboarding process was smooth, and our team was productive from day one.",
rating: 5,
avatar: "https://cdn.21st.dev/assets/mirror/aa/aaab4a0fbd8e2ad7a7ec4ccaa827918df0d6af1732227caa84d309cb49b45c21.jpg",
},
]
return (
<section className="py-24 relative overflow-hidden flex justify-center" id="pricing">
<div className="container px-4 md:px-6 relative z-10">
<div className="flex flex-col items-center mb-12 text-center">
<div className="inline-flex items-center gap-1 px-3 py-1 mb-4 rounded-full border border-primary/20 shadow-sm">
<CreditCard className="mr-1 h-3.5 w-3.5 text-primary" />
<span className="text-xs font-medium">Simple Pricing</span>
</div>
<h2 className="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl mb-4">
One template, endless possibilities
</h2>
<p className="max-w-[700px] text-muted-foreground md:text-xl/relaxed">
Everything you need to build your next great SaaS application
</p>
</div>
<SinglePricingCard
badge={{
icon: Crown,
text: "Premium Template",
}}
title="Next.js Starter Template"
subtitle="Build your next SaaS application with this premium starter template"
price={{
current: "$69.99",
original: "$99.99",
discount: "30% Off",
}}
benefits={[
{
text: "One-time payment, lifetime updates",
icon: Check,
},
{
text: "30-day money-back guarantee",
icon: Shield,
},
{
text: "Created by developers for developers",
icon: Heart,
},
]}
features={features}
featuresIcon={Check}
featuresBadge={{
icon: Stars,
text: "All Features",
}}
primaryButton={{
text: "Purchase Template",
icon: ShoppingCart,
chevronIcon: ChevronRight,
}}
secondaryButton={{
text: "Live Demo",
icon: ExternalLink,
href: "#",
}}
testimonials={testimonials}
testimonialRotationSpeed={5000}
/>
</div>
</section>
)
}
















