Skip to content

Plan Tier Card

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

Settings & PreferencesHTMLCSSany framework
Current plan
Pro
$24/mo
  • Unlimited projects
  • Priority support
  • Custom domains
Renews May 28, 2026

Copy into your project

HTML
<div class="nuda-plan">
  <div class="nuda-plan__badge">Current plan</div>
  <div class="nuda-plan__head">
    <div class="nuda-plan__name">Pro</div>
    <div class="nuda-plan__price"><span>$24</span>/mo</div>
  </div>
  <ul class="nuda-plan__features">
    <li>Unlimited projects</li>
    <li>Priority support</li>
    <li>Custom domains</li>
  </ul>
  <div class="nuda-plan__foot">
    <span class="nuda-plan__renew">Renews May 28, 2026</span>
    <button type="button" class="nuda-plan__btn">Manage</button>
  </div>
</div>
CSS
/* Plan Tier Card
   Highlighted current plan with features and renewal info.
   Customize: --accent, --check */

.nuda-plan {
  --accent: #e4ff54;
  --check: #22c55e;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, #111114, #0c0c10);
  border: 1px solid rgba(228, 255, 84, 0.25);
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  overflow: hidden;
}

.nuda-plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(228, 255, 84, 0.4), transparent 50%);
  -webkit-mask:
    linear-gradient(#000, #000) content-box,
    linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.nuda-plan__badge {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #09090b;
  background: var(--accent);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
}

.nuda-plan__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.nuda-plan__name {
  color: #fafafa;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nuda-plan__price {
  color: #a0a0a8;
  font-size: 0.8125rem;
  font-weight: 500;
}

.nuda-plan__price span {
  color: #fafafa;
  font-size: 1.25rem;
  font-weight: 600;
  margin-right: 0.125rem;
}

.nuda-plan__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nuda-plan__features li {
  position: relative;
  padding-left: 1.375rem;
  color: #a0a0a8;
  font-size: 0.8125rem;
}

.nuda-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.375rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='m4 7 2 2 4-4' fill='none' stroke='%2322c55e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.nuda-plan__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nuda-plan__renew {
  color: #63636e;
  font-size: 0.75rem;
}

.nuda-plan__btn {
  background: var(--accent);
  color: #09090b;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nuda-plan__btn:hover {
  background: #d4ef44;
}

.nuda-plan__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nuda-plan__btn {
    transition: none;
  }
}

How to use Plan Tier 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 settings & preferences components

← Browse all NudaUI components