Skip to content

Gradient Beam Tier

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

Pricing TablesHTMLCSSany framework
Growth
$39/mo

Copy into your project

HTML
<!-- Gradient Beam Tier — spinning conic beam appears + card lifts on hover -->
<div class="nuda-pr2-beam-tier">
  <span class="nuda-pr2-beam-tier__beam" aria-hidden="true"></span>
  <div class="nuda-pr2-beam-tier__inner">
    <span class="nuda-pr2-beam-tier__name">Growth</span>
    <div class="nuda-pr2-beam-tier__price"><b>$39</b><i>/mo</i></div>
    <button class="nuda-pr2-beam-tier__btn" type="button">Choose Growth</button>
  </div>
</div>
CSS
.nuda-pr2-beam-tier {
  position: relative;
  width: 160px;
  padding: 1px;
  border-radius: 12px;
  transition: transform .3s;
}

.nuda-pr2-beam-tier:hover {
  transform: translateY(-4px);
}

.nuda-pr2-beam-tier__beam {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: conic-gradient(from 0deg,#e4ff54,transparent 30%,transparent 70%,#e4ff54);
  opacity: 0;
  transition: opacity .3s;
}

.nuda-pr2-beam-tier:hover .nuda-pr2-beam-tier__beam {
  opacity: 1;
  animation: nuda-pr2-beam-tier-spin 2.5s linear infinite;
}

.nuda-pr2-beam-tier__inner {
  position: relative;
  background: #111113;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nuda-pr2-beam-tier__name {
  font: 600 9px ui-sans-serif,system-ui;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nuda-pr2-beam-tier__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.nuda-pr2-beam-tier__price b {
  font: 800 22px ui-sans-serif,system-ui;
  color: #fafafa;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.nuda-pr2-beam-tier__price i {
  font: 500 10px ui-sans-serif,system-ui;
  font-style: normal;
  color: #63636e;
}

.nuda-pr2-beam-tier__btn {
  margin-top: 4px;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: #fafafa;
  border-radius: 8px;
  font: 600 11px ui-sans-serif,system-ui;
  cursor: pointer;
  transition: background .25s,border-color .25s,color .25s;
}

.nuda-pr2-beam-tier__btn:hover {
  background: rgba(228,255,84,.1);
  border-color: #e4ff54;
  color: #e4ff54;
}

.nuda-pr2-beam-tier__btn:focus-visible {
  outline: 2px solid #e4ff54;
  outline-offset: 2px;
}

@keyframes nuda-pr2-beam-tier-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion:reduce) {
  .nuda-pr2-beam-tier,.nuda-pr2-beam-tier__beam,.nuda-pr2-beam-tier__btn {
    transition: none;
  }
  .nuda-pr2-beam-tier:hover {
    transform: none;
  }
  .nuda-pr2-beam-tier:hover .nuda-pr2-beam-tier__beam {
    animation: none !important;
    opacity: .6;
  }
}

How to use Gradient Beam 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