Pricing 01
shadcn-ui-blocks-shadcnship/pricing-01FreeBlock
Three-column pricing table with a monthly/yearly billing toggle, a highlighted recommended plan, and feature lists. Use it on dedicated pricing pages to help users choose the right plan and increase conversion.
See it running
Open the demo on shadcn-ui-blocks
shadcnship.com/blocks/pricing-01Install it
npx shadcn@latest add https://shadcnship.com/r/pricing-01.jsonSource
1"use client";23import { useState } from "react";4import { CircleCheck } from "lucide-react";5import { cn } from "@/lib/utils";6import { Button } from "@/components/ui/button";7import {8 Card,9 CardContent,10 CardFooter,11 CardHeader,12} from "@/components/ui/card";13import { Switch } from "@/components/ui/switch";14import { Separator } from "@/components/ui/separator";1516interface Plan {17 name: string;18 prices: {19 monthly: string;20 yearly: string;21 };22 features: string[];23 popular?: boolean;24 cta: { text: string; url: string };25}2627interface Pricing01Props {28 title?: string;29 description?: string;30 plans?: Plan[];31 className?: string;32}3334const Pricing01 = ({35 title = "Simple, Transparent Pricing",36 description = "Choose the plan that fits your needs. No hidden fees.",37 plans = [38 {39 name: "Starter",40 prices: { monthly: "$0", yearly: "$0" },41 features: [42 "All core components",43 "Community support",44 "Free updates",45 "Free support",46 ],47 cta: { text: "Get Started", url: "#" },48 },49 {50 name: "Pro",51 prices: { monthly: "$49", yearly: "$490" },52 popular: true,53 features: [54 "Everything in Starter",55 "Premium components",56 "Priority support",57 "Early access",58 "Pro support",59 "Free updates",60 "Community support",61 ],62 cta: { text: "Start Free Trial", url: "#" },63 },64 {65 name: "Enterprise",66 prices: { monthly: "$99", yearly: "$790" },67 features: [68 "Everything in Pro",69 "Custom components",70 "Dedicated support",71 "SLA guarantee",72 "Early access",73 "Pro support",74 "Free updates",75 "Community support",76 ],77 cta: { text: "Contact Sales", url: "#" },78 },79 ],80 className,81}: Pricing01Props) => {82 const [isAnnual, setIsAnnual] = useState(false);8384 return (85 <section86 className={cn(87 "relative w-full overflow-hidden py-16 md:py-24",88 className,89 )}90 >91 <div className="container mx-auto px-4">92 <div className="flex flex-col items-center gap-4 text-center">93 <h2 className="text-4xl font-medium tracking-tight md:text-5xl">94 {title}95 </h2>96 <p className="text-muted-foreground">{description}</p>97 <div className="flex items-center gap-4">98 <span99 className={cn(100 "text-sm",101// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from shadcn-ui-blocks
All 74 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Square Grid Backgroundbackground-01 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Dot Pattern Backgroundbackground-02 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Diagonal Stripes Backgroundbackground-03 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Vertical Lines Backgroundbackground-04 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Interactive Grid Backgroundbackground-05 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Banner 01banner-01 | shadcn-ui-blocks | Blocks | Free | 1 dep | |
| Blog 01blog-01 | shadcn-ui-blocks | Blocks | Free | no deps | |
| Changelog 01changelog-01 | shadcn-ui-blocks | Blocks | Free | no deps |
