Component

Pricing Card

Premium SaaS pricing card with gradient background, feature list, and call-to-action. Features atmospheric glow effects.

  • Component
  • Tailwind
  • HTML
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/components/cards/pricing-card/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Cards/pricing-card
registry path: Tailwind/Components/Cards/pricing-card

Source

Implementation

code.html
<div class="relative bg-gradient-to-b from-slate-900 to-slate-800 rounded-3xl p-8 text-white overflow-hidden">
  <div class="absolute top-0 right-0 w-64 h-64 bg-blue-500/20 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"></div>
  <div class="absolute bottom-0 left-0 w-48 h-48 bg-purple-500/20 rounded-full blur-3xl translate-y-1/2 -translate-x-1/2"></div>
  
  <div class="relative">
    <div class="flex items-center justify-between mb-6">
      <div>
        <span class="inline-block px-3 py-1 bg-blue-500/20 text-blue-300 text-xs font-semibold rounded-full mb-3">MOST POPULAR</span>
        <h3 class="text-2xl font-bold">Pro Plan</h3>
      </div>
      <div class="w-12 h-12 bg-gradient-to-br from-blue-500 to-purple-600 rounded-xl flex items-center justify-center">
        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
        </svg>
      </div>
    </div>
    
    <div class="mb-6">
      <div class="flex items-baseline gap-1">
        <span class="text-5xl font-bold">$49</span>
        <span class="text-slate-400">/month</span>
      </div>
      <p class="text-slate-400 text-sm mt-2">Billed annually at $588/year</p>
    </div>
    
    <ul class="space-y-4 mb-8">
      <li class="flex items-center gap-3">
        <svg class="w-5 h-5 text-green-400 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        <span class="text-slate-300">Unlimited projects & collaborators</span>
      </li>
      <li class="flex items-center gap-3">
        <svg class="w-5 h-5 text-green-400 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        <span class="text-slate-300">100GB cloud storage</span>
      </li>
      <li class="flex items-center gap-3">
        <svg class="w-5 h-5 text-green-400 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        <span class="text-slate-300">Advanced analytics & reporting</span>
      </li>
      <li class="flex items-center gap-3">
        <svg class="w-5 h-5 text-green-400 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        <span class="text-slate-300">Priority customer support</span>
      </li>
      <li class="flex items-center gap-3">
        <svg class="w-5 h-5 text-green-400 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
        </svg>
        <span class="text-slate-300">Custom integrations & API access</span>
      </li>
    </ul>
    
    <button class="w-full py-4 bg-gradient-to-r from-blue-500 to-purple-600 text-white font-semibold rounded-xl hover:opacity-90 transition-opacity shadow-lg shadow-blue-500/25">
      Start Free Trial
    </button>
    
    <p class="text-center text-slate-400 text-xs mt-4">No credit card required • Cancel anytime</p>
  </div>
</div>
65 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This component is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://components/cards/pricing-card

Continue browsing

View all