Pricing 24 - Two tiers with annual savings calloutPro
Two plan cards under a centered switch; switching to annual reveals a per-plan savings strip showing exactly how much is saved per year.
About Pricing 24
Two plan cards under a centered switch; switching to annual reveals a per-plan savings strip showing exactly how much is saved per year.
Pricing 24 is a pro pricing block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 105 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- two-tier
- annual
- savings
- switch
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/pricing-24Dependencies installed automatically: lucide-react, motion.
Uses: button, number-ticker, reveal, switch, use-reduced-motion, utils.
Usage
import Pricing24 from "@/components/blocks/pricing-24"
export default function Page() {
return <Pricing24 />
}