Skip to content

Popular Tier

A copy-paste pricing tables component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Pricing TablesHTMLCSSany framework
PopularPro
$29/mo

Most teams pick this.

Copy into your project

HTML
<!-- Popular Tier — highlighted plan with badge + glow -->
<div class="nuda-popt">
  <span class="nuda-popt__badge">Popular</span>
  <span class="nuda-popt__name">Pro</span>
  <div class="nuda-popt__price"><b>$29</b><i>/mo</i></div>
  <p class="nuda-popt__desc">Most teams pick this.</p>
  <button class="nuda-popt__btn" type="button">Upgrade</button>
</div>
CSS
/* Popular Tier
   Highlighted plan: gradient bg, accent border, glow, "Popular" badge.
   Customize: --popt-accent */

.nuda-popt {
  --popt-accent: #e4ff54;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  width: 100%;
  max-width: 280px;
  background: linear-gradient(180deg, rgba(228, 255, 84, 0.1), rgba(228, 255, 84, 0.02));
  border: 1px solid rgba(228, 255, 84, 0.3);
  border-radius: 14px;
  transform: scale(1.04);
  box-shadow: 0 16px 40px -8px rgba(228, 255, 84, 0.25);
}

.nuda-popt__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: var(--popt-accent);
  color: #09090b;
  font: 800 0.625rem ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(228, 255, 84, 0.5);
}

.nuda-popt__name {
  font: 600 0.7rem ui-sans-serif, system-ui, sans-serif;
  color: var(--popt-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nuda-popt__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.nuda-popt__price b {
  font: 800 2.5rem ui-sans-serif, system-ui, sans-serif;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nuda-popt__price i {
  font: 500 0.875rem ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  color: #a1a1aa;
}

.nuda-popt__desc {
  font: 500 0.875rem ui-sans-serif, system-ui, sans-serif;
  color: #a1a1aa;
  margin: 0;
}

.nuda-popt__btn {
  margin-top: 8px;
  padding: 10px 16px;
  background: var(--popt-accent);
  border: none;
  color: #09090b;
  border-radius: 8px;
  font: 700 0.875rem ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s;
}

.nuda-popt__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(228, 255, 84, 0.5);
}

How to use Popular Tier

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More pricing tables components

← Browse all NudaUI components