De nouveaux outils sont arrivés ! Découvrir les nouveautés

Accueil/Composants/Tableau de tarifs

Tableau de tarifs examples

Une section de tarification à trois niveaux avec une offre recommandée mise en avant, des listes de fonctionnalités et un bouton de bascule pour une facturation mensuelle ou annuelle.

Une section de tarification à trois colonnes avec un niveau recommandé mis en avant, des listes de fonctionnalités par forfait et un bouton de bascule pour la facturation mensuelle ou annuelle. S'empile sur une seule colonne sur mobile dans l'ordre où les forfaits sont écrits.

Une variante inclut un bouton de bascule fonctionnel pour la facturation mensuelle et annuelle, en React et en HTML brut. Les autres sont du balisage statique, ce dont la plupart des sites ont réellement besoin.

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 Tableau de tarifs?

Un tableau de tarifs présente les forfaits d'un produit côte à côte afin qu'un visiteur puisse les comparer en un coup d'œil. C'est une interface de comparaison déguisée en section marketing : l'objectif visuel est d'avoir l'air propre, et le véritable objectif est de rendre les différences entre les niveaux suffisamment lisibles pour que quelqu'un en choisisse un au lieu de partir y réfléchir.

La structure est presque universelle car elle fonctionne. Chaque colonne contient un nom de forfait, une courte phrase indiquant à qui il s'est destiné, un prix, une liste de ce qui est inclus et une action. Un niveau recommandé est généralement mis en avant, ce qui ressemble à un effet de style mais joue un rôle crucial - face à trois options similaires sans indication, les gens choisissent par défaut celle du milieu ou aucune, et une recommandation explicite évite d'hésiter.

Le bouton de bascule de facturation est le seul élément véritablement interactif, et il existe parce que la tarification annuelle bénéficie généralement d'une réduction. Afficher le tarif mensuel équivalent tout en facturant annuellement est standard, mais il est préférable d'indiquer clairement dans le libellé quel montant est facturé et quand, car l'écart entre le chiffre affiché et la somme réellement débitée du compte d'un utilisateur est le moment où les pages de tarification perdent la confiance des clients.

Là où ces sections échouent le plus souvent, c'est au niveau du breakpoint. Trois colonnes de listes de fonctionnalités deviennent trois blocs empilés sur un téléphone, et le forfait recommandé - soigneusement positionné au milieu pour un écran d'ordinateur - se retrouve enfoui entre les deux autres, sous un pli que la plupart des visiteurs sur mobile ne font jamais défiler. Organiser les forfaits pour que le recommandé apparaisse en premier sur mobile est une modification d'une seule classe, facile à oublier et coûteuse à rater.

Anatomy

En-tête de section
Le titre et la ligne d'accompagnement au-dessus des colonnes. Limitez la ligne d'accompagnement à une seule phrase sur le public cible des forfaits, et non à un paragraphe commercial.
Bouton de bascule de facturation
Deux boutons dotés de l'attribut aria-pressed pour indiquer quelle période est active. Des boutons plutôt qu'un interrupteur (switch), car le choix se fait entre deux options nommées et non entre marche et arrêt.
Carte de forfait
Une colonne par niveau, contenant le nom, le slogan, le prix, la liste des fonctionnalités et l'action. Toutes les cartes partagent le même espacement interne afin que les prix et les boutons s'alignent d'une colonne à l'autre.
Badge mis en avant
L'étiquette positionnée en absolute sur le forfait recommandé, décalée au-dessus du bord supérieur de la carte pour donner l'impression d'être rattachée plutôt que contenue.
Liste de fonctionnalités
Une balise ul par forfait. Gardez le même nombre d'éléments d'un niveau à l'autre si possible, sinon les colonnes finiront à des hauteurs différentes et les boutons cesseront de s'aligner.
Action du forfait
Le bouton ou le lien au bas de chaque carte. Le forfait recommandé bénéficie du style plein et les autres d'une bordure (outline), afin que le poids visuel corresponde au parcours utilisateur souhaité.

How to Use

  1. 1

    Copiez la version dont vous avez besoin

    Prenez la version React si vous voulez le bouton de bascule de facturation fonctionnel, ou la version HTML pour un tableau statique mensuel uniquement.

  2. 2

    Modifiez le tableau plans

    Remplacez les noms, slogans, prix et fonctionnalités. L'indicateur featured contrôle quelle colonne reçoit la bordure, le badge et le bouton plein - activez-le sur un seul forfait exactement.

  3. 3

    Définissez votre réduction annuelle

    Le champ annuel correspond au prix mensuel équivalent lorsqu'il est facturé à l'année, et non au total annuel. Rendez le libellé de facturation explicite quant au montant facturé.

  4. 4

    Corrigez l'ordre sur mobile

    Ajoutez order-first lg:order-none sur la carte mise en avant pour que le plan recommandé apparaisse en haut sur mobile et reprenne sa place au milieu sur desktop.

  5. 5

    Connecter les actions

    Foin pointer le lien de chaque plan vers votre tunnel d'inscription avec l'identifiant du plan dans la query string ou le chemin, afin que la sélection soit conservée au lieu d'être demandée à nouveau.

Features

Bouton de facturation fonctionnel

Les prix mensuels et annuels basculent sans rechargement de page, avec aria-pressed sur chaque bouton pour que la période active soit annoncée et pas seulement affichée.

Colonnes pilotées par les données

Toute la section est rendue à partir d'un tableau plans unique, ce qui fait que l'ajout ou la suppression d'un palier est une modification de données plutôt qu'une modification du balisage.

Traitement du plan mis en avant

Un unique booléen pilote la bordure plus épaisse, le badge et le bouton plein, maintenant une cohérence dans l'accentuation au lieu d'une application manuelle par élément.

Aligné sur toutes les colonnes

Un espacement interne partagé maintient les prix, les listes et les boutons sur les mêmes lignes horizontales, ce qui rend un tableau facile à parcourir plutôt que simplement propre.

Gestion des prix personnalisés

Un prix nul s'affiche en tant que Custom avec le suffixe par mois supprimé, de sorte qu'un palier entreprise n'a pas besoin de son propre balisage séparé.

Common Uses

Pages de tarification SaaS

La disposition standard à trois niveaux pour un produit par abonnement, avec un plan gratuit ou de démarrage ancrant le bas de gamme et un palier contactez-nous en haut.

Forfaits services et agence

Présentation de forfaits à périmètre fixe où les différences portent sur les livrables plutôt que sur les limites d'utilisation, avec le forfait du milieu comme valeur par défaut voulue.

Niveaux d'abonnement et de cours

Agencement des niveaux d'accès pour une communauté, un cours ou une newsletter où la facturation annuelle offre une réduction significative.

Comparaison d'un plan payant par rapport à la version gratuite

Une version à deux colonnes qui place le niveau gratuit à côté du payant, argumentant la mise à niveau par le contraste plutôt que par le discours.

Accessibility

Customization

Props

PropTypeDefaultDescription
plans *Plan[]-Les niveaux à afficher. Chacun comporte un nom, un slogan, un prix mensuel et annuel, une liste de fonctionnalités et un indicateur de mise en avant qui contrôle le style visuel.
defaultAnnualbooleanfalseLa période de facturation par défaut du bouton de bascule. Commencer par l'annuel affiche un montant mensuel plus bas, ce que certaines équipes préfèrent et d'autres considèrent comme trompeur - choisissez en toute conscience.

Why Use These Tableau de tarifss?

La bascule de facturation est un véritable état fonctionnel, et non une capture d'écran statique. La plupart des sections de prix copiées-collées soit l'omettent, soit la laissent sous forme de décoration non fonctionnelle qui doit être câblée avant que la page ne puisse être mise en ligne.

Les colonnes sont générées à partir d'un tableau de données, de sorte qu'un changement de prix représente une seule modification au lieu de trois modifications parallèles dans des blocs de balisage quasi identiques - ce qui est la raison pour laquelle les grilles tarifaires finissent par devenir incohérentes après quelques séries de mises à jour.

Le problème de la commande mobile est documenté plutôt que laissé comme une surprise. C'est le défaut le plus courant dans les sections de prix et la correction se résume à une seule classe.

Tips

Frequently Asked Questions