Category · Pricing Tables Difficulty Level · Intermediate Published on · January 21, 2024

Modern Pricing Table

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

#pricing #responsive #animations #business #features

Responsive Design

Yes

Dark Mode Support

No

lines

491

Browser Compatibility

No

Live Preview

Interact with the component without leaving the page.

500px

HTML

131

lines

CSS

272

lines

JavaScript

88

lines


                <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>

              
131lines
5192characters
HTMLLanguage

Related Code Snippets

Explore template packs

Need larger building blocks? Browse responsive landing pages and component bundles.

Open HTML Template Library →