# Marketing Pricing Section: Toggle

A pricing section with a monthly and yearly switch that updates every plan price. Use it to show annual savings and let buyers pick a billing cycle fast.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/toggle
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Pricing Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/toggle.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pricing-sections-toggle
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-pricing-sections-toggle.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, card, label, switch
- Installs to: `@/components/blocks/marketing/pricing-sections/toggle`

## About this block

Toggle Pricing opens with a centered heading and a short subline, then
a billing switch row: "Monthly" and "Annual" labels flank a toggle, and
a small "Save 20%" badge floats above the annual label so the discount
is impossible to miss. Below that sits a three-column card grid. Each
card carries a plan name, a large price figure that updates instantly
when the toggle flips, a short description, a check-icon feature list,
and a full-width call-to-action button. The middle card is highlighted
with a primary border and a "Most Popular" badge pinned to its top edge.

The heading copy, subline, and the savings percentage are all
independent of the card data. Each plan's name, monthly price, annual
price, description, feature list, and popular flag can be edited or
removed without affecting the other plans. You can add a fourth card
or drop to two without changing the toggle logic.

## When to use

Reach for this block when your product bills on two cycles and you want
buyers to see the annual saving before they commit. It suits a dedicated
pricing page for a listing platform, a property management tool, or any
marketplace where agencies compare tiers side by side. The billing
toggle gives it an edge over a static card layout because the price
update happens in place and keeps the buyer focused on the plans rather
than sending them to a separate annual pricing view.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [hero section](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections) to introduce the
  product and set expectations before buyers evaluate cost
- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to justify
  each tier by showing what the product actually does

**After**

- [FAQ Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/faq-sections) to answer billing
  questions that buyers have right after reading prices
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to close with a
  direct signup prompt once buyers have chosen a plan

## What you can customize

The three plans cover the common free-to-enterprise ramp, but the
structure bends to other shapes:

- **Billing periods.** The toggle currently switches between monthly
  and yearly prices; swap the labels and values if your product bills
  quarterly or uses credits instead of calendar months.
- **Feature lists.** Each plan holds its own array of feature strings,
  so you can lengthen the top tier, shorten the entry tier, or rename
  features to match the exact terminology your buyers expect.
- **Popular highlight.** Only one plan carries the primary border and
  badge today; move the popular flag to whichever tier you want to
  steer buyers toward.

> Tip: keep annual prices visibly lower than twelve times the monthly
> rate so the toggle gives buyers an immediate, concrete reason to
> choose annual billing.

## More in Marketing Pricing Sections

- [Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/calculator)
- [Cards](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/cards)
- [Custom Builder](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/custom-builder)
- [Enterprise](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/enterprise)
- [Feature Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/feature-grid)
- [Horizontal](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/horizontal)
- [Interactive](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/interactive)
- [Minimalist](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/minimalist)
- [Modern](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/modern)
- [Seasonal](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/seasonal)
- [Simple](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/simple)
- [Stacked](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/stacked)
- [Testimonial](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections/testimonial)
