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
9:41 100%
devsnips.dev/library/tailwind/components/cards/pricing-card/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Cards/pricing-card Tailwind/Components/Cards/pricing-card <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> # Pricing Card
Pricing tier card with features and CTA.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Price emphasis
- Feature list
- CTA
## Usage
```bash
npx devsnips add Tailwind/Components/Cards/pricing-card
```
Copy from `code.html`.
## Customization
- Highlighted tier styles, button colors, spacing
## Accessibility
- Real list markup for features; real button/link for CTA
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 65 lines UTF-8 · LF · Spaces: 2
Continue browsing