Pricing Table

A tailwind pricing table component: three tiers with a highlighted popular plan.

Starter

$0/mo

  • 3 projects
  • Community support
Most popular

Pro

$29/mo

  • Unlimited projects
  • Priority support
  • Custom domains

Enterprise

Custom

  • SSO and audit logs
  • Dedicated manager
Tailwind CSS
<div class="w-full grid gap-4 md:grid-cols-3 max-w-4xl">
  <div class="p-4 rounded-2xl border border-slate-200 bg-white">
      <h3 class="font-bold text-sm text-slate-900">Starter</h3>
      <p class="mt-1 text-2xl font-black text-slate-900">$0<span class="text-xs font-medium text-slate-500">/mo</span></p>
      <ul class="mt-3 space-y-1.5 text-xs text-slate-600">
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>3 projects</li>
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>Community support</li>
      </ul>
      <button class="mt-4 w-full py-2 rounded-xl border border-slate-300 text-xs font-bold text-slate-700 whitespace-nowrap hover:bg-slate-50 transition-colors">Choose Starter</button>
    </div>
  <div class="relative p-4 rounded-2xl border-2 border-indigo-600 bg-white shadow-xl shadow-indigo-600/10 md:-translate-y-2">
      <span class="absolute -top-3 left-1/2 -translate-x-1/2 px-3 py-1 rounded-full bg-indigo-600 text-white text-xs font-bold whitespace-nowrap">Most popular</span>
      <h3 class="font-bold text-sm text-slate-900">Pro</h3>
      <p class="mt-1 text-2xl font-black text-slate-900">$29<span class="text-xs font-medium text-slate-500">/mo</span></p>
      <ul class="mt-3 space-y-1.5 text-xs text-slate-600">
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>Unlimited projects</li>
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>Priority support</li>
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>Custom domains</li>
      </ul>
      <button class="mt-4 w-full py-2 rounded-xl bg-indigo-600 text-xs font-bold text-white whitespace-nowrap hover:bg-indigo-500 transition-colors">Choose Pro</button>
    </div>
  <div class="p-4 rounded-2xl border border-slate-200 bg-white">
      <h3 class="font-bold text-sm text-slate-900">Enterprise</h3>
      <p class="mt-1 text-2xl font-black text-slate-900">Custom<span class="text-xs font-medium text-slate-500"></span></p>
      <ul class="mt-3 space-y-1.5 text-xs text-slate-600">
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>SSO and audit logs</li>
        <li class="flex gap-1.5"><svg class="w-3.5 h-3.5 mt-0.5 text-emerald-500 shrink-0" fill="none" stroke="currentColor" stroke-width="3" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg>Dedicated manager</li>
      </ul>
      <button class="mt-4 w-full py-2 rounded-xl border border-slate-300 text-xs font-bold text-slate-700 whitespace-nowrap hover:bg-slate-50 transition-colors">Contact sales</button>
    </div>
</div>

Free to use in personal and commercial projects. No attribution required.

Variants

Same component, different looks. Preview each one live and copy the code you like.

Dark

For dark landing pages where white cards would glare.

Starter

$0/mo

  • 3 projects
  • Community support
Most popular

Pro

$29/mo

  • Unlimited projects
  • Priority support
  • Custom domains

Enterprise

Custom

  • SSO and audit logs
  • Dedicated manager
Tailwind CSS

Emerald accent

Green highlight for eco, finance, or health products instead of indigo.

Starter

$0/mo

  • 3 projects
  • Community support
Most popular

Pro

$29/mo

  • Unlimited projects
  • Priority support
  • Custom domains

Enterprise

Custom

  • SSO and audit logs
  • Dedicated manager
Tailwind CSS

Two tiers

Simpler choice for early products that only need free and paid plans.

Starter

$0/mo

  • 3 projects
  • Community support
Most popular

Pro

$29/mo

  • Unlimited projects
  • Priority support
  • Custom domains
Tailwind CSS

About this pricing table

A tailwind pricing table component lays out your plans side by side so visitors can compare at a glance. Three tiers remain the standard for a 3 tier pricing tailwind layout: a starter plan, a highlighted middle plan, and an enterprise tier. The middle plan gets the visual emphasis because it is the plan most businesses want visitors to choose.

The grid uses md:grid-cols-3 so the tiers stack cleanly on phones. The popular plan stands out with a 2px indigo border, a soft shadow, a slight upward shift, and an absolutely positioned Most popular badge. Feature lists use check icons in emerald, and each tier ends with a CTA button, solid for the highlighted plan and outlined for the others.

Keep feature lists parallel in length and wording so comparison feels fair. Never highlight two plans at once; the emphasis only works when one tier clearly wins. Pair this saas pricing table html with a monthly/yearly toggle above it when you offer annual billing.

Pricing is the highest-anxiety moment on a SaaS page. Visitors arrive ready to compare, and a wall of paragraphs makes them bounce instead of choosing. The table turns comparison into scanning: plans side by side, differences visible at a glance. Three tiers also create a quiet anchoring effect, where the middle plan starts to look like the sensible choice between too little and too much.

The grid uses md:grid-cols-3 so tiers stack vertically on phones. The popular plan breaks the row's rhythm with a stronger border, a soft shadow, and a slight -translate-y-2 lift, plus an absolutely positioned badge. That lift is the whole trick: breaking alignment is what pulls the eye. Each card is a flex column so the CTA buttons align at the bottom even when feature lists differ in length.

Lift the recommended tier with a subtle scale-105 and deeper shadow rather than just a badge; elevation reads instantly while badges require reading. Put the price in the largest type on the card and the billing note in the smallest; visitors scan prices first, details second. Order tiers with the recommended one in the center on desktop; the middle position gets the most eyes. For annual and monthly toggles above the table, animate the price change with a quick fade so the swap feels responsive, not glitchy.

The subtle killer is badge inflation: marking two plans as popular, or adding best value and recommended ribbons everywhere. Emphasis only works when exactly one tier wins; two highlighted cards cancel each other out and the visitor is back to guessing. If every plan is special, none of them is. Pick the tier your business actually wants to sell and commit to it.

Frequently asked questions

How do I build a 3 tier pricing table in Tailwind?

Use a grid with md:grid-cols-3 containing three cards, each with a plan name, price, feature list, and CTA button. The grid stacks the tiers vertically on mobile automatically.

How do I highlight the popular plan in a pricing table template css?

Give it a stronger border or ring in your brand color, add a small badge above the card, lift it slightly with -translate-y-2, and use a solid CTA button while the other tiers use outline buttons.

Should pricing show monthly or yearly prices?

Show monthly by default since it looks cheaper, and add a toggle for yearly billing with the discount shown. Always label which billing period the price refers to.

How do I make a responsive pricing table that stacks on mobile?

Use grid with grid-cols-1 on mobile switching to md:grid-cols-3, with a consistent gap between cards. Make each card a flex column so buttons align at the bottom even when feature lists differ in length. Put the most popular plan first in the DOM order so mobile users see it without scrolling sideways.

How do I build a monthly yearly pricing toggle in Tailwind?

Add a small toggle above the table that swaps the displayed prices with JavaScript, reading values from data-monthly and data-yearly attributes on each price element. Show the per-month price with a "billed annually" note so the math is transparent. Set aria-pressed on the toggle so screen readers know which billing period is active.

Should pricing feature lists use check icons or plain text?

Check icons for included features and a muted dash or x for excluded ones make tiers scannable at a glance. Keep the feature wording identical across all tiers so visitors can compare rows directly. Avoid checkmarks on every row of the top tier with no negatives, since that removes the comparison value.

Where to use it

  • ✓ SaaS landing pages
  • ✓ Subscription products
  • ✓ Agency service pages
  • ✓ Membership sites

Design notes

When to use

Pricing tables work when visitors must compare plans side by side, which is why three tiers became the standard: a starter, a highlighted middle plan, and a premium option. The highlighted popular plan guides the undecided majority toward the sweet spot. They belong on SaaS and subscription pages where the plan choice is the conversion moment.

What to avoid

Do not stretch to five or six tiers, because comparison collapses and visitors bounce instead of choosing. Avoid hiding the real price behind per user per month billed annually math without showing the actual charge. And do not badge the most expensive tier as most popular just to upsell, since savvy buyers see through it and trust drops.

Accessibility

Structure the table with real table or list semantics and headings so screen readers can compare plans column by column. Do not mark the popular plan by color or badge alone, include text, and make sure prices are readable as text, not images.

Customization tips

Drop to two tiers by changing the grid, or stretch to four on xl screens. Add a billing toggle that swaps the prices with JavaScript. For dark mode, switch cards to slate-900 with slate-700 borders.

Customize it with our tools