a modern pricing section with free and pro plans, featuring feature lists, call-to-action buttons, and an interactive chart for plan popularity trends. Perfect for SaaS websites, subscription platforms, and business landing pages.
import { PricingWithChart } from "@/components/ui/pricing-with-chart"; import { cn } from '@/lib/utils'; export default function DemoOne() { return ( <div className="relative flex min-h-screen w-full items-center justify-center px-4 py-10 bg-[radial-gradient(35%_80%_at_50%_0%,--theme(--color-foreground/.1),transparent)]"> <PricingWithChart /> {/* Dots */} <div aria-hidden="true" className={cn( 'absolute inset-0 -z-10 size-full', 'bg-[radial-gradient(color-mix(in_oklab,--theme(--color-foreground/.1)30%,transparent)_2px,transparent_2px)]', 'bg-[size:12px_12px]', )} /> </div> ); }
Part of Efferd — browse the full library on 21st.dev.