Pricing Table Cards
Modern pricing table with animated cards, popular plan highlighting, and smooth hover effects, perfect for SaaS and service websites.
Responsive Design
Yes
Dark Mode Support
No
lines
572
Browser Compatibility
Chrome Β· Firefox Β· Safari Β· Edge
Live Preview
Interact with the component without leaving the page.
Overview
Modern pricing table with animated cards, popular plan highlighting, and smooth hover effects, perfect for SaaS and service websites.
How to use
- Copy the HTML markup into your page.
- Paste the CSS into your stylesheet and ensure the selectors match your markup.
- Paste the JavaScript and load it after the markup.
- Adjust spacing, colors, and text to match your design system.
Customization tips
- Rename class names to avoid collisions with your existing CSS.
- Replace hard-coded colors with CSS variables for theming.
- Verify the layout at 320px, 768px, and 1024px widths.
HTML
91
lines
CSS
305
lines
JavaScript
176
lines
<div class="pricing-container">
<div class="pricing-header">
<h2>Choose Your Plan</h2>
<p>Select the perfect plan for your needs. Upgrade or downgrade at any time.</p>
</div>
<div class="pricing-toggle">
<span class="toggle-label">Monthly</span>
<label class="toggle-switch">
<input type="checkbox" id="billingToggle">
<span class="slider"></span>
</label>
<span class="toggle-label">Yearly <span class="discount-badge">Save 20%</span></span>
</div>
<div class="pricing-grid">
<div class="pricing-card">
<div class="card-header">
<h3>Basic</h3>
<p>Perfect for individuals</p>
</div>
<div class="card-price">
<span class="currency">\$</span>
<span class="amount monthly-price">9</span>
<span class="amount yearly-price" style="display: none;">7</span>
<span class="period">/month</span>
</div>
<ul class="features-list">
<li><span class="check">β</span> Up to 5 projects</li>
<li><span class="check">β</span> 10GB storage</li>
<li><span class="check">β</span> Email support</li>
<li><span class="check">β</span> Basic analytics</li>
<li class="unavailable"><span class="cross">β</span> Priority support</li>
<li class="unavailable"><span class="cross">β</span> Advanced features</li>
</ul>
<button class="plan-btn">Get Started</button>
</div>
<div class="pricing-card popular">
<div class="popular-badge">Most Popular</div>
<div class="card-header">
<h3>Pro</h3>
<p>Best for growing teams</p>
</div>
<div class="card-price">
<span class="currency">\$</span>
<span class="amount monthly-price">29</span>
<span class="amount yearly-price" style="display: none;">23</span>
<span class="period">/month</span>
</div>
<ul class="features-list">
<li><span class="check">β</span> Unlimited projects</li>
<li><span class="check">β</span> 100GB storage</li>
<li><span class="check">β</span> Priority support</li>
<li><span class="check">β</span> Advanced analytics</li>
<li><span class="check">β</span> Team collaboration</li>
<li><span class="check">β</span> API access</li>
</ul>
<button class="plan-btn primary">Start Free Trial</button>
</div>
<div class="pricing-card">
<div class="card-header">
<h3>Enterprise</h3>
<p>For large organizations</p>
</div>
<div class="card-price">
<span class="currency">\$</span>
<span class="amount monthly-price">99</span>
<span class="amount yearly-price" style="display: none;">79</span>
<span class="period">/month</span>
</div>
<ul class="features-list">
<li><span class="check">β</span> Everything in Pro</li>
<li><span class="check">β</span> Unlimited storage</li>
<li><span class="check">β</span> 24/7 phone support</li>
<li><span class="check">β</span> Custom integrations</li>
<li><span class="check">β</span> Advanced security</li>
<li><span class="check">β</span> Dedicated manager</li>
</ul>
<button class="plan-btn">Contact Sales</button>
</div>
</div>
<div class="pricing-footer">
<p>All plans include a 30-day money-back guarantee</p>
</div>
</div>
Browser Compatibility
Chrome
>= 50
Firefox
>= 45
Safari
>= 10
Edge
>= 15