Yeni araçlar eklendi! Yenilikleri keşfet

Ana Sayfa/Bileşenler/Pricing Table

Pricing Table examples

Öne çıkarılan önerilen plan, özellik listeleri ve aylık veya yıllık faturalandırma toggle'ı içeren üç kademeli bir fiyatlandırma bölümü.

Vurgulanan önerilen kademeye, plan başına özellik listelerine ve aylık veya yıllık faturalandırma toggle'ına sahip üç sütunlu bir fiyatlandırma bölümü. Mobil cihazlarda planların yazıldığı sırayla tek bir sütun halinde alt alta dizilir.

Bir varyant, hem React hem de saf HTML olarak çalışan bir aylık ve yıllık faturalandırma toggle'ı içerir. Diğerleri ise çoğu sitenin aslında ihtiyaç duyduğu statik markup'tır.

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?

Bir fiyatlandırma tablosu, bir ziyaretçinin tek bakışta karşılaştırabilmesi için bir ürünün planlarını yan yana düzenler. Bu, bir pazarlama bölümü kılığına girmiş bir karşılaştırma arayüzüdür: görsel işi temiz görünmektir, gerçek işi ise kademeler arasındaki farkları, birinin ayrılıp düşünmek yerine hemen birini seçmesini sağlayacak kadar hızlı okunur kılmaktır.

Yapısı neredeyse evrenseldir çünkü işe yarar. Her sütun bir plan adı, kimin için olduğuna dair kısa bir cümle, bir fiyat, dahil olanların listesi ve bir eylem taşır. Önerilen bir kademe genellikle öne çıkarılır; bu bir tasarım süsü gibi kulağa gelse de gerçek bir iş yapar - hiçbir yönlendirme olmadan sunulan üç benzer seçenek karşısında insanlar genellikle ortadakine veya hiçbirine yönelmezler ve açık bir öneri bu kararsızlığı ortadan kaldırır.

Faturalandırma toggle'ı gerçekten etkileşimli olan tek parçadır ve yıllık fiyatlandırma genellikle indirimli olduğu için vardır. Yıllık faturalandırma yapılırken indirimli aylık eşdeğer rakamı göstermek standarttır, ancak hangi rakamın ne zaman tahsil edileceğini etiket üzerinde netleştirmekte fayda var; çünkü gösterilen rakam ile birinin hesabından gerçekten çıkan miktar arasındaki fark, fiyatlandırma sayfalarının güven kaybettiği yerdir.

Bu bölümlerin en sık başarısız olduğu yer breakpoint'tir. Özellik listelerinin üç sütunu bir telefonda alt alta üç bloğa dönüşür ve masaüstü gözü için ortaya dikkatle yerleştirilmiş olan önerilen plan, çoğu mobil ziyaretçinin asla kaydırıp geçmediği bir fold'un altında, diğer ikisinin arasında gömülü kalır. Planları, önerilen plan mobilde ilk görünecek şekilde sıralamak, atlaması kolay ve kaçırması maliyetli olan tek sınıflık bir değişikliktir.

Anatomy

Section başlığı
Sütunların üzerindeki başlık ve destekleyici satır. Destekleyici satırı, planların kimin için olduğunu belirten tek bir cümleyle sınırlı tutun, bir satış paragrafı yapmayın.
Faturalandırma toggle'ı
Hangi dönemin aktif olduğunu belirtmek için aria-pressed taşıyan iki düğme. Bir anahtar (switch) yerine düğmeler kullanılır, çünkü seçim açma/kapama arasında değil, iki adlandırılmış seçenek arasındadır.
Plan kartı
Adı, sloganı, fiyatı, özellik listesini ve eylemi barındıran, kademe başına bir sütun. Tüm kartlar aynı dahili boşluğu paylaşır, böylece fiyatlar ve düğmeler sütunlar arasında hizalanır.
Featured rozeti
Önerilen planda mutlak konumlandırılmış (absolutely positioned) etiket; kapsanan değil, eklenmiş gibi okunması için kartın üst kenarının üzerine kaydırılmıştır.
Özellik listesi
Plan başına bir ul. Mümkünse kademeler arasında öğe sayısını eşit tutun, aksi takdirde sütunlar farklı yüksekliklerde biter ve düğmeler hizalanmayı bırakır.
Plan eylemi
Her kartın altındaki düğme veya bağlantı. Önerilen plan solid muamele görür, diğerleri ise outline alır, böylece görsel ağırlık hedeflenen yolla eşleşir.

How to Use

  1. 1

    İhtiyacınız olan sürümü kopyalayın

    Çalışan faturalandırma toggle'ını istiyorsanız React sürümünü, yalnızca aylık statik bir tablo için HTML sürümünü alın.

  2. 2

    Plans dizisini düzenleyin

    Adları, sloganları, fiyatları ve özellikleri değiştirin. Featured bayrağı hangi sütunun kenarlık, rozet ve solid düğme alacağını kontrol eder - bunu tam olarak bir planda ayarlayın.

  3. 3

    Yıllık indiriminizi ayarlayın

    Yıllık alan, yıllık olarak faturalandırıldığında aylık eşdeğer fiyatıdır, yıllık toplam değildir. Faturalandırma etiketini hangi rakamın tahsil edildiği konusunda açık hale getirin.

  4. 4

    Mobil sıralamayı düzeltin

    Öne çıkan karta order-first lg:order-none ekleyin; böylece önerilen plan telefonlarda en üstte, masaüstünde ise yeniden ortada görünecektir.

  5. 5

    Aksiyonları bağlayın

    Her planın bağlantısını, seçim kaybolmasın ve tekrar sorulmasın diye plan tanımlayıcısını query string veya path içinde olacak şekilde kayıt akışınıza yönlendirin.

Features

Çalışan faturalandırma toggle'ı

Sayfa yenilenmeden aylık ve yıllık fiyatlar değişir; aktif dönemin yalnızca gösterilmekle kalmayıp seslendirilmesi için her buton üzerinde aria-pressed bulunur.

Veri odaklı sütunlar

Tüm bölüm tek bir plans dizisinden render edilir, bu nedenle bir tier eklemek veya kaldırmak markup değişikliği değil bir veri değişikliğidir.

Öne çıkan plan vurgusu

Tek bir boolean; daha kalın kenarlığı, rozeti ve dolu butonu yöneterek vurgunun eleman bazında elle uygulanmak yerine tutarlı kalmasını sağlar.

Sütunlar arasında hizalanmış

Paylaşılan iç boşluklar fiyatları, listeleri ve butonları aynı yatay çizgilerde tutar; bir tabloyu sadece düzenli değil, taranabilir kılan da budur.

Özel fiyat yönetimi

Null fiyat, aylık eki gizlenerek Özel olarak render edilir, böylece bir enterprise tier kendi ayrı markup'ına ihtiyaç duymaz.

Common Uses

SaaS fiyatlandırma sayfaları

Alt ucu ücretsiz veya başlangıç planıyla sabitleyen, üst uçta ise satış ekibiyle iletişim tier'ı barındıran, abonelik ürünü için standart üçlü tier düzeni.

Hizmet ve ajans paketleri

Orta paket amaçlanan varsayılan olacak şekilde, farklılıkların kullanım sınırları değil teslimatlar olduğu sabit kapsamlı paketler sunma.

Üyelik ve kurs tier'ları

Yıllık faturalandırmanın anlamlı bir indirim sağladığı bir topluluk, kurs veya bülten için erişim seviyelerini düzenleme.

Ücretli bir planı ücretsiz olanla karşılaştırma

Ücretsiz tier'ı ücretlinin yanına koyan iki sütunlu bir versiyon; argümanla değil kontrastla upgrade durumu yaratır.

Accessibility

Customization

Props

PropTypeDefaultDescription
plans *Plan[]-Render edilecek kademeler. Her biri bir ad, slogan, aylık ve yıllık fiyat, özellik listesi ve vurgulanan görünümü kontrol eden bir featured bayrağı taşır.
defaultAnnualbooleanfalseToggle'ın hangi faturalandırma dönemiyle başlayacağı. Yıllık ile başlamak daha düşük bir ana rakam gösterir; bazı ekipler bunu tercih eder, bazıları ise yanıltıcı bulur - bilinçli bir seçim yapın.

Why Use These Pricing Tables?

Faturalandırma toggle'ı statik bir ekran görüntüsü değil, gerçek çalışan bir state'tir. Kopyala-yapıştır fiyatlandırma bölümlerinin çoğu bunu ya atlar ya da sayfa yayına girmeden önce kablolanması gereken işlevsiz bir dekorasyon olarak bırakır.

Sütunlar bir veri dizisinden render edilir, bu nedenle fiyat değişikliği, neredeyse aynı markup blokları arasında üç paralel düzenleme yerine tek bir düzenlemedir - fiyatlandırma tabloları birkaç güncelleme turundan sonra tam olarak bu yüzden tutarsız hale gelir.

Mobil sipariş verme sorunu bir sürpriz olarak bırakılmak yerine belgelenmiştir. Bu, fiyatlandırma bölümlerindeki en yaygın kusurdur ve çözümü tek bir sınıftır (class).

Tips

Frequently Asked Questions