Skip to content

Pricing Card

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

Pricing TablesHTMLCSSany framework
Starter
$9/mo

For small teams

Copy into your project

HTML
<!-- Pricing Card — single tier -->
<div class="nuda-pcard">
  <span class="nuda-pcard__name">Starter</span>
  <div class="nuda-pcard__price"><b>$9</b><i>/mo</i></div>
  <p class="nuda-pcard__desc">For small teams</p>
  <button class="nuda-pcard__btn" type="button">Get started</button>
</div>
CSS
/* Pricing Card
   Plan card that lifts + glows on hover. CTA is ghost → accent on hover.
   Customize: --pcard-accent, --pcard-bg */

.nuda-pcard {
  --pcard-accent: #e4ff54;
  --pcard-bg: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  width: 100%;
  max-width: 280px;
  background: var(--pcard-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nuda-pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 255, 84, 0.2);
  box-shadow: 0 16px 40px -8px rgba(228, 255, 84, 0.15);
}

.nuda-pcard__name {
  font: 600 0.7rem ui-sans-serif, system-ui, sans-serif;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

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

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

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

.nuda-pcard__btn {
  margin-top: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fafafa;
  border-radius: 8px;
  font: 600 0.875rem ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.nuda-pcard__btn:hover {
  background: rgba(228, 255, 84, 0.1);
  border-color: var(--pcard-accent);
  color: var(--pcard-accent);
}

How to use Pricing Card

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