Pricing 71 - Billing toggle with savings barsPro

Each plan row shows a horizontal bar of its yearly cost; switching to annual shrinks the bar and reveals the struck-through monthly total and amount saved.

About Pricing 71

Each plan row shows a horizontal bar of its yearly cost; switching to annual shrinks the bar and reveals the struck-through monthly total and amount saved.

Pricing 71 is a pricing block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 88 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.

  • toggle
  • yearly
  • savings
  • bars
  • animated

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add pricing-71

Dependencies installed automatically: motion.

Uses: button, motion-presets, reveal, segmented-control, utils.

Usage

import Pricing71 from "@/components/blocks/pricing-71"

export default function Page() {
  return <Pricing71 />
}

FAQ