Commitment Cue Pricing Block

A pricing block that communicates commitment level through tone and spacing instead of visual emphasis.

HTML

<section class="price-commit">
  <span class="price-commit__term">Annual</span>
  <strong class="price-commit__value">$199</strong>
  <span class="price-commit__note">Best value</span>
</section>

CSS

.price-commit {
  width: 200px;
  padding: 0.8rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  box-shadow: 0 18px 36px rgba(0,0,0,0.14);
  text-align: center;
  display: grid;
  gap: 0.25rem;
  transition: transform 150ms ease;
}

.price-commit:hover {
  transform: translateY(-2px);
}

.price-commit__term {
  font-size: 11px;
  color: #6b7280;
}

.price-commit__value {
  font-size: 22px;
  font-weight: 800;
  color: #16a34a;
}

.price-commit__note {
  font-size: 11px;
  color: #22c55e;
}

@media (prefers-color-scheme: dark) {
  .price-commit {
    background: linear-gradient(180deg, #111827, #020617);
  }
  .price-commit__value {
    color: #4ade80;
  }
  .price-commit__term {
    color: #9ca3af;
  }
}

Notes

  • Commitment-first framing
  • No badges or toggles
  • Suitable for upgrade nudges

Preview styles shown. Production customization recommended.

Browse More UI Components

Explore hundreds of reusable HTML & CSS UI components built for modern web projects.
Discover buttons, cards, loaders, animations, layouts, and more all with live previews and clean, copy-paste code.

Leave a Reply

Your email address will not be published. Required fields are marked *