Naye tools shamil kiye gaye! Dekhein kya naya hai

Home/Components/Pricing Table

Pricing Table examples

Teen tiers wala pricing section jis mein aik recommended plan highlight hota hai, feature lists hoti hain, aur monthly ya annual billing toggle hota hai.

Teen columns wala pricing section jis mein aik recommended tier highlight hota hai, har plan ki apni feature lists hoti hain, aur monthly ya annual billing toggle hota hai. Mobile par yeh plans likhne ki tarteeb ke mutabiq aik single column mein stack ho jata hai.

Aik variant mein kaam karne wala monthly aur annual billing toggle hai, React aur plain HTML dono mein. Baaki static markup hain, jo ke zyadatar sites ko asal mein chahiye hota hai.

Three-tier pricing table

Starter, Pro, and Enterprise columns with an outlined, badged recommended plan. The recommended plan moves to the top on mobile.

Preview
export default function PricingTable() {
  return (
    <section className="mx-auto max-w-6xl px-4 py-12">
      <div className="mb-10 text-center">
        <h2 className="text-3xl font-bold text-gray-900">Simple pricing</h2>
        <p className="mt-3 text-gray-600">Start free. Upgrade when your team grows.</p>
      </div>

      <div className="grid gap-6 lg:grid-cols-3">
        <div className="relative rounded-xl border border-gray-200 bg-white p-6">
          <h3 className="font-semibold text-gray-900">Starter</h3>
          <p className="mt-1 text-sm text-gray-600">For side projects.</p>
          <p className="mt-4"><span className="text-4xl font-bold text-gray-900">$0</span><span className="text-sm text-gray-600">/month</span></p>
          <ul className="mt-6 space-y-3 text-sm text-gray-700">
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>1 project</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Community support</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>1 GB storage</span></li>
          </ul>
          <a href="#" className="mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium border border-gray-300 text-gray-900 hover:bg-gray-50">Start free</a>
        </div>

        <div className="relative order-first rounded-xl border-2 border-gray-900 bg-white p-6 lg:order-none">
          <span className="absolute -top-3 left-6 rounded-full bg-gray-900 px-3 py-1 text-xs font-medium text-white">Most popular</span>
          <h3 className="font-semibold text-gray-900">Pro</h3>
          <p className="mt-1 text-sm text-gray-600">For growing teams.</p>
          <p className="mt-4"><span className="text-4xl font-bold text-gray-900">$24</span><span className="text-sm text-gray-600">/month</span></p>
          <ul className="mt-6 space-y-3 text-sm text-gray-700">
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Unlimited projects</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Priority support</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>100 GB storage</span></li>
          </ul>
          <a href="#" className="mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium bg-gray-900 text-white hover:bg-gray-700">Start trial</a>
        </div>

        <div className="relative rounded-xl border border-gray-200 bg-white p-6">
          <h3 className="font-semibold text-gray-900">Enterprise</h3>
          <p className="mt-1 text-sm text-gray-600">For larger organizations.</p>
          <p className="mt-4"><span className="text-4xl font-bold text-gray-900">Custom</span></p>
          <ul className="mt-6 space-y-3 text-sm text-gray-700">
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>SSO and audit logs</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Dedicated support</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Custom contracts</span></li>
          </ul>
          <a href="#" className="mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium border border-gray-300 text-gray-900 hover:bg-gray-50">Contact sales</a>
        </div>
      </div>
    </section>
  );
}

Pricing table with monthly and annual toggle

The same three tiers with a billing switch that updates prices in place. Buttons carry aria-pressed so the active period is announced.

Preview
"use client";

import { useState } from "react";

const plans = [
  {
    name: "Starter",
    tagline: "For side projects.",
    monthly: 0,
    annual: 0,
    features: ["1 project", "Community support", "1 GB storage"],
    cta: "Start free",
    featured: false,
  },
  {
    name: "Pro",
    tagline: "For growing teams.",
    monthly: 24,
    annual: 19,
    features: ["Unlimited projects", "Priority support", "100 GB storage"],
    cta: "Start trial",
    featured: true,
  },
  {
    name: "Enterprise",
    tagline: "For larger organizations.",
    monthly: null,
    annual: null,
    features: ["SSO and audit logs", "Dedicated support", "Custom contracts"],
    cta: "Contact sales",
    featured: false,
  },
];

export default function PricingTable() {
  const [annual, setAnnual] = useState(false);

  const tab = "rounded-md px-4 py-1.5 text-sm font-medium ";

  return (
    <section className="mx-auto max-w-6xl px-4 py-12">
      <div className="mb-10 text-center">
        <h2 className="text-3xl font-bold text-gray-900">Simple pricing</h2>
        <p className="mt-3 text-gray-600">Start free. Upgrade when your team grows.</p>

        <div
          className="mt-6 inline-flex rounded-lg border border-gray-200 p-1"
          role="group"
          aria-label="Billing period"
        >
          <button
            type="button"
            onClick={() => setAnnual(false)}
            aria-pressed={!annual}
            className={tab + (!annual ? "bg-gray-900 text-white" : "text-gray-600")}
          >
            Monthly
          </button>
          <button
            type="button"
            onClick={() => setAnnual(true)}
            aria-pressed={annual}
            className={tab + (annual ? "bg-gray-900 text-white" : "text-gray-600")}
          >
            Annual
          </button>
        </div>
      </div>

      <div className="grid gap-6 lg:grid-cols-3">
        {plans.map((plan) => {
          const price = annual ? plan.annual : plan.monthly;

          return (
            <div
              key={plan.name}
              className={
                "relative rounded-xl bg-white p-6 " +
                (plan.featured
                  ? "order-first border-2 border-gray-900 lg:order-none"
                  : "border border-gray-200")
              }
            >
              {plan.featured && (
                <span className="absolute -top-3 left-6 rounded-full bg-gray-900 px-3 py-1 text-xs font-medium text-white">
                  Most popular
                </span>
              )}

              <h3 className="font-semibold text-gray-900">{plan.name}</h3>
              <p className="mt-1 text-sm text-gray-600">{plan.tagline}</p>

              <p className="mt-4">
                <span className="text-4xl font-bold text-gray-900">
                  {price === null ? "Custom" : "$" + price}
                </span>
                {price !== null && <span className="text-sm text-gray-600">/month</span>}
              </p>

              <ul className="mt-6 space-y-3 text-sm text-gray-700">
                {plan.features.map((feature) => (
                  <li key={feature}>{feature}</li>
                ))}
              </ul>

              <a
                href="#"
                className={
                  "mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium " +
                  (plan.featured
                    ? "bg-gray-900 text-white hover:bg-gray-700"
                    : "border border-gray-300 text-gray-900 hover:bg-gray-50")
                }
              >
                {plan.cta}
              </a>
            </div>
          );
        })}
      </div>
    </section>
  );
}

Two-tier pricing table

Free next to paid. Fewer options convert better when the plans are genuinely different rather than incrementally larger.

Preview
export default function TwoTierPricing() {
  return (
    <section className="mx-auto max-w-3xl px-4 py-12">
      <div className="mb-10 text-center">
        <h2 className="text-3xl font-bold text-gray-900">Two plans. No surprises.</h2>
        <p className="mt-3 text-gray-600">Try it free, then pay only when you need more.</p>
      </div>

      <div className="grid gap-6 md:grid-cols-2">
        <div className="relative rounded-xl border border-gray-200 bg-white p-6">
          <h3 className="font-semibold text-gray-900">Starter</h3>
          <p className="mt-1 text-sm text-gray-600">For side projects.</p>
          <p className="mt-4"><span className="text-4xl font-bold text-gray-900">$0</span><span className="text-sm text-gray-600">/month</span></p>
          <ul className="mt-6 space-y-3 text-sm text-gray-700">
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>1 project</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Community support</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>1 GB storage</span></li>
          </ul>
          <a href="#" className="mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium border border-gray-300 text-gray-900 hover:bg-gray-50">Start free</a>
        </div>

        <div className="relative order-first rounded-xl border-2 border-gray-900 bg-white p-6 lg:order-none">
          <span className="absolute -top-3 left-6 rounded-full bg-gray-900 px-3 py-1 text-xs font-medium text-white">Most popular</span>
          <h3 className="font-semibold text-gray-900">Pro</h3>
          <p className="mt-1 text-sm text-gray-600">For growing teams.</p>
          <p className="mt-4"><span className="text-4xl font-bold text-gray-900">$24</span><span className="text-sm text-gray-600">/month</span></p>
          <ul className="mt-6 space-y-3 text-sm text-gray-700">
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Unlimited projects</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>Priority support</span></li>
            <li className="flex gap-2"><svg className="h-4 w-4 shrink-0 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span>100 GB storage</span></li>
          </ul>
          <a href="#" className="mt-8 block rounded-md px-4 py-2 text-center text-sm font-medium bg-gray-900 text-white hover:bg-gray-700">Start trial</a>
        </div>
      </div>
    </section>
  );
}

Pricing comparison table

A feature-by-feature table with checks and dashes. Use it when plans share most features and differ in limits. Scrolls sideways on narrow screens.

Preview
export default function PricingComparison() {
  return (
    <section className="mx-auto max-w-4xl px-4 py-12">
      <h2 className="text-center text-3xl font-bold text-gray-900">Compare plans</h2>

      <div className="mt-8 overflow-x-auto rounded-xl border border-gray-200">
        <table className="w-full min-w-[32rem] text-left text-sm">
          <thead className="bg-gray-50 text-gray-900">
            <tr>
              <th scope="col" className="px-4 py-3 font-semibold">Feature</th>
              <th scope="col" className="px-4 py-3 text-center font-semibold">Starter</th>
              <th scope="col" className="px-4 py-3 text-center font-semibold">Pro</th>
              <th scope="col" className="px-4 py-3 text-center font-semibold">Enterprise</th>
            </tr>
          </thead>
          <tbody className="divide-y divide-gray-200 text-gray-700">
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">Projects</th>
              <td className="px-4 py-3 text-center">1</td>
              <td className="px-4 py-3 text-center">Unlimited</td>
              <td className="px-4 py-3 text-center">Unlimited</td>
            </tr>
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">Storage</th>
              <td className="px-4 py-3 text-center">1 GB</td>
              <td className="px-4 py-3 text-center">100 GB</td>
              <td className="px-4 py-3 text-center">Custom</td>
            </tr>
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">Community support</th>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
            </tr>
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">Priority support</th>
              <td className="px-4 py-3 text-center"><span aria-hidden="true" className="text-gray-400">-</span><span className="sr-only">Not included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
            </tr>
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">SSO and audit logs</th>
              <td className="px-4 py-3 text-center"><span aria-hidden="true" className="text-gray-400">-</span><span className="sr-only">Not included</span></td>
              <td className="px-4 py-3 text-center"><span aria-hidden="true" className="text-gray-400">-</span><span className="sr-only">Not included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
            </tr>
            <tr>
              <th scope="row" className="px-4 py-3 font-medium text-gray-900">Custom contracts</th>
              <td className="px-4 py-3 text-center"><span aria-hidden="true" className="text-gray-400">-</span><span className="sr-only">Not included</span></td>
              <td className="px-4 py-3 text-center"><span aria-hidden="true" className="text-gray-400">-</span><span className="sr-only">Not included</span></td>
              <td className="px-4 py-3 text-center"><svg className="mx-auto h-5 w-5 text-gray-900" fill="none" stroke="currentColor" strokeWidth="1.5" viewBox="0 0 24 24" aria-hidden="true"><path strokeLinecap="round" strokeLinejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg><span className="sr-only">Included</span></td>
            </tr>
          </tbody>
        </table>
      </div>
    </section>
  );
}

What is a Pricing Table?

Pricing table kisi product ke plans ko side by side dikhata hai taake visitor aik hi nazar mein unka mawazna (compare) kar sake. Yeh marketing section ke roop mein aik comparison interface hai: iska visual kaam clean lagna hai, aur asal kaam tiers ke darmiyan farq ko itni jaldi wazeh karna hai ke koi shakhs sochne ke liye jaane ke bajaye foran aik select kar le.

Yeh structure taqreeban har jagah isliye istemal hota hai kyunke yeh kaam karta hai. Har column mein plan ka naam, kiske liye hai iski choti line, price, kya shamil hai uski list, aur aik action hota hai. Aik recommended tier ko aam tor par alag dikhaya jata hai, jo design ki koi khasiyat lagti hai lekin asal kaam kar rahi hoti hai - bina kisi rehnumai ke teen aik jaise options diye jayein, toh log aam tor par beech wale ya kisi ko bhi select nahi karte, aur aik wazeh recommendation confusion khatam kar deti hai.

Billing toggle hi woh aik aisi cheez hai jo waqai interactive hai, aur yeh isliye hota hai kyunke annual pricing par aam tor par discount hota hai. Annual billing ke doraan discounted monthly-equivalent figure dikhana standard hai, lekin label mein yeh wazeh karna zaroori hai ke kaunsa number charge ho raha hai aur kab, kyunke dikhaye gaye figure aur user ke account se katne wali rakam ke beech ka farq hi woh jagah hai jahan pricing pages ka bharosa khatam hota hai.

Yeh sections sab se zyada breakpoint par fail hote hain. Feature lists ke teen columns phone par teen stacked blocks ban jate hain, aur recommended plan - jo desktop screen ke liye beech mein care ke sath rakha gaya tha - baaki dono ke darmiyan, aisi jagah chup jata hai jahan tak mobile ka zyadatar visitor scroll hi nahi karta. Plans ki tarteeb aise rakhna ke recommended wala mobile par pehle nazar aaye, aik aisi choti si change hai jise miss karna aasaan aur mehenga pad sakta hai.

Anatomy

Section heading
Columns ke upar heading aur supporting line. Supporting line ko sirf aik sentence tak rakhein ke plans kiske liye hain, koi sales paragraph na banayein.
Billing toggle
Do buttons jin par aria-pressed laga hota hai yeh batane ke liye ke kaunsa period active hai. Switch ke bajaye buttons, kyunke choice do named options ke darmiyan hoti hai na ke on aur off ke.
Plan card
Har tier ke liye aik column, jismein naam, tagline, price, feature list, aur action hota hai. Sabhi cards ka internal spacing aik jaisa hota hai taake prices aur buttons columns ke aage barabar line mein rahein.
Featured badge
Recommended plan par absolutely positioned label, jo card ke top edge se thoda upar hota hai taake lage ke yeh sath juda hua hai, andar band nahi.
Feature list
Har plan ke liye aik ul. Jahan tak ho sake tiers ke andar items ki tadad barabar rakhein, warna columns alag alag height par khatam honge aur buttons align hona band ho jayenge.
Plan action
Har card ke neechye button ya link. Recommended plan ko solid treatment milti hai aur baaki ko outlines, taake visual weight tay shuda raste ke mutabiq ho.

How to Use

  1. 1

    Apni zaroorat ka version copy karein

    Agar kaam karne wala billing toggle chahiye toh React version lein, ya sirf static monthly table ke liye HTML version lein.

  2. 2

    Plans array ko edit karein

    Naamon, taglines, prices, aur features ko replace karein. Featured flag control karta hai ke kis column ko border, badge, aur solid button milega - ise kisi aik plan par set karein.

  3. 3

    Apna annual discount set karein

    Annual field yearly bill hone par monthly-equivalent price hoti hai, na ke saal ka total. Billing label mein wazeh karein ke kaunsa figure charge hota hai.

  4. 4

    Mobile order theek karein

    Featured card par order-first lg:order-none add karein taake recommended plan phones par top par nazar aaye aur desktop par wapas beech mein chale jaye.

  5. 5

    Actions ko wire up karein

    Har plan ke link ko query string ya path mein plan identifier ke sath apne signup flow par point karein, taake selection dobara puchne ke bajaye sath carry ho jaye.

Features

Kaam karne wala billing toggle

Monthly aur annual prices bina page reload ke switch hoti hain, har button par aria-pressed ke sath taake active period sirf dikhane ke bajaye announce ho.

Data-driven columns

Poora section ek plans array se render hota hai, isliye tier add ya remove karna markup change ke bajaye ek data change hai.

Featured plan treatment

Ek single boolean heavy border, badge, aur solid button ko chalata hai, jo har element par manually apply karne ke bajaye emphasis ko consistent rakhta hai.

Columns ke darmiyan alignment

Shared internal spacing prices, lists, aur buttons ko ek hi horizontal line par rakhti hai, jo kisi table ko sirf tidy ke bajaye scannable banati hai.

Custom-price handling

Null price Custom ke taur par render hoti hai aur per-month suffix hata diya jata hai, taake enterprise tier ko alag se apne markup ki zarurat na pade.

Common Uses

SaaS pricing pages

Subscription product ke liye standard three-tier layout, jisme free ya starter plan low end ko anchor karta hai aur contact-sales tier top par hota hai.

Service aur agency packages

Fixed-scope packages ko present karna jahan differences usage limits ke bajaye deliverables hote hain, aur beech wala package intended default hota hai.

Membership aur course tiers

Community, course, ya newsletter ke liye access levels set karna jahan annual billing par acha khasa discount milta hai.

Paid plan ko free ke sath compare karna

Ek two-column version jo free tier ko paid wale ke sath rakhta hai, aur argument ke bajaye contrast se upgrade ka case banata hai.

Accessibility

Customization

Props

PropTypeDefaultDescription
plans *Plan[]-Render karne ke liye tiers. Har aik mein naam, tagline, monthly aur annual price, feature list, aur aik featured flag hota hai jo highlight hone wale style ko control karta hai.
defaultAnnualbooleanfalseToggle kis billing period se start ho. Annual se start karne par kam headline number dikhta hai, jo kuch teams ko pasand hota hai aur kuch ko misleading lagta hai - soch samajh kar choose karein.

Why Use These Pricing Tables?

Billing toggle real working state hai, kisi ek ka static screenshot nahi. Zyada tar copy-paste pricing sections ya toh isay chor dete hain ya aisi non-functional decoration rakhte hain jise page ship hone se pehle wire up karna parta hai.

Columns data array se render hoti hain, isliye price change ek single edit hoti hai na ke near-identical markup blocks ke andar teen parallel edits - jis ki wajah se pricing tables kuch updates ke baad inconsistent ho jati hain.

Mobile ordering ka masla documentation me clearly bataya gaya hai taake baad me koi surprise na ho. Ye pricing sections me sab se common defect hai aur iska fix sirf ek class hai.

Tips

Frequently Asked Questions