Modern Pricing Table

Intermediate

Elegant pricing table with hover animations, feature highlights, and responsive design. Includes popular badge and smooth transitions.

Live Preview

Code Implementation

HTML
<div class="pricing-demo">
  <div class="pricing-container">
    <div class="pricing-header">
      <h2>Choose Your Plan</h2>
      <p>Start free, upgrade when you're ready</p>
      <div class="pricing-toggle">
        <span class="toggle-label">Monthly</span>
        <label class="toggle-switch">
          <input type="checkbox" id="pricing-toggle">
          <span class="toggle-slider"></span>
        </label>
        <span class="toggle-label">Yearly</span>
        <span class="toggle-discount">Save 20%</span>
      </div>
    </div>
    
    <div class="pricing-grid">
      <div class="pricing-card">
        <div class="card-header">
          <h3>Starter</h3>
          <p>Perfect for individuals</p>
        </div>
        <div class="card-price">
          <span class="price-currency">$</span>
          <span class="price-amount" data-monthly="9" data-yearly="86">9</span>
          <span class="price-period">/month</span>
        </div>
        <ul class="card-features">
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            5 Projects
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            10GB Storage
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            Email Support
          </li>
        </ul>
        <button class="pricing-btn">Get Started</button>
      </div>
      
      <div class="pricing-card popular">
        <div class="popular-badge">Most Popular</div>
        <div class="card-header">
          <h3>Professional</h3>
          <p>Best for small teams</p>
        </div>
        <div class="card-price">
          <span class="price-currency">$</span>
          <span class="price-amount" data-monthly="29" data-yearly="278">29</span>
          <span class="price-period">/month</span>
        </div>
        <ul class="card-features">
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            25 Projects
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            100GB Storage
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            Priority Support
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            Advanced Analytics
          </li>
        </ul>
        <button class="pricing-btn">Get Started</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="price-currency">$</span>
          <span class="price-amount" data-monthly="99" data-yearly="950">99</span>
          <span class="price-period">/month</span>
        </div>
        <ul class="card-features">
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            Unlimited Projects
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            1TB Storage
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            24/7 Phone Support
          </li>
          <li class="feature-item">
            <svg class="feature-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
              <path d="M20 6L9 17l-5-5"/>
            </svg>
            Custom Integrations
          </li>
        </ul>
        <button class="pricing-btn">Contact Sales</button>
      </div>
    </div>
  </div>
</div>

Snippet Features

Responsive Design: Yes
Dark Mode Support: No
Category: pricing-tables
Difficulty Level: Intermediate