Corevia Pricing Pricing Block - Let's templates
Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Pricing

Corevia Pricing

A pricing block extracted from the Corevia template, available in Tailwind CSS and Bootstrap.

0 3
Corevia Pricing preview
corevia.html
<!DOCTYPE html>
<html lang="en">
<head>
  <script>
    window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
  </script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Corevia Pricing | Tailwind CSS UI Block</title>
  <meta name="description" content="A pricing block extracted from the Corevia template, available in Tailwind CSS and Bootstrap.">
  <meta name="keywords" content="Corevia, Tailwind CSS template, HTML website template, fitness template, gym website, personal trainer, coaching programs, membership pricing, workout tracker, health club">
  <meta name="author" content="Let's templates">
  <link rel="canonical" href="">

  <meta property="og:type" content="product">
  <meta property="og:site_name" content="Let's templates">
  <meta property="og:locale" content="en_US">
  <meta property="og:url" content="">
  <meta property="og:title" content="Corevia | Tailwind CSS Health &amp; Fitness Template">
  <meta property="og:description" content="An energetic Tailwind CSS fitness template with a program carousel, progress tracker, pricing toggle and a chat-style sign-up.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Corevia template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Corevia | Tailwind CSS Health &amp; Fitness Template">
  <meta name="twitter:description" content="An energetic Tailwind CSS fitness template with a program carousel, progress tracker, pricing toggle and a chat-style sign-up.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Corevia template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { flame: { DEFAULT: '#f26b38', deep: '#d9551f' }, coal: { DEFAULT: '#0e0e0e', soft: '#232323' }, mist: '#f3f3f3' },
          fontFamily: { sans: ['Inter', 'sans-serif'], serif: ['"Instrument Serif"', 'serif'] }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: 180ms ease-out both page-fade-out; }
    ::view-transition-new(root) { animation: 220ms ease-in both page-fade-in; }
    @keyframes page-fade-out { to { opacity: 0; } }
    @keyframes page-fade-in { from { opacity: 0; } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .no-scrollbar { scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .swap { transition: opacity .35s ease; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .swap { transition: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-white font-sans text-coal antialiased">
<% active_page = "index" %>
<% nav = { "index" => "Home", "about" => "About Us", "services" => "Services", "testimonials" => "Testimonials" } %>
<% nav.each do |slug, label| %>
<% active = active_page == slug %>
<% end %>
<% nav.merge("pricing" => "Pricing", "contact" => "Contact").each do |slug, label| %>
<% active = active_page == slug %>
<% end %>
<% %w[avatar-1 avatar-2 avatar-5 avatar-3 avatar-6].each do |avatar| %>
<% end %>
<% [["Better health", "left-0 top-0"], ["Expert coaching", "left-0 top-[42%]"], ["Real community", "left-10 bottom-0"]].each do |(label, position)| %>
<% end %>
<% programs = [["Battle Rope Training", "1599058917212-d750089bc07e", "Woman training with battle ropes outdoors"], ["Bodyweight Workout", "1518611012118-696072aa579a", "Two women doing a bodyweight class"], ["Mobility & Stretch", "1599901860904-17e6ed7083a0", "Person stretching in a downward dog pose"], ["Strength Basics", "1541534741688-6078c6bfb5c5", "Woman lifting a barbell in a squat rack"], ["Run Club", "1607962837359-5e7e89f86776", "Group running together outdoors"]] %>
<% programs.each_with_index do |(title, photo, alt), index| %>
<% end %>
<% services = [["Personal Training", "fa-hand-holding-heart", "One coach, one plan, built around your goals and schedule."], ["Nutrition Plans", "fa-heart-pulse", "Simple meals and portions that support how you train."], ["Yoga & Mindfulness", "fa-spa", "Breath, balance and recovery for body and mind."], ["Cardio & Endurance", "fa-person-running", "Run, row and ride further without burning out."], ["Wellness Coaching", "fa-seedling", "Sleep, stress and habits — the stuff that makes it stick."], ["Online Coaching", "fa-laptop", "Expert programming and check-ins wherever you train."]] %>
<% services.each_with_index do |(title, icon, text), index| %>
<% end %>
<% routines = { "exercise" => ["Exercise", "3 km run today", 62, "96%", "+0.9%"], "food" => ["Healthy food", "1,850 kcal logged", 78, "88%", "+1.4%"], "gym" => ["Gym", "4 of 5 sessions", 80, "92%", "+2.1%"] } %>
<% routines.each_with_index do |(key, (label)), index| %>
<% end %>
<% rail = [["Stronger every week", "1517836357463-d25dfeac3438", "Athlete deadlifting a heavy barbell"], ["Train side by side", "1534258936925-c58bed479fcb", "Two people training with battle ropes"], ["Lift with intent", "1605296867304-46d5465a13f1", "Man setting up a deadlift in a dark gym"], ["Move as a team", "1554284126-aa88f22d8b74", "Group doing barbell squats together"]] %>
<% rail.each do |(title, photo, alt)| %>
<% end %>
<% plans = [["Kickstart", 89, 71, ["Weekly personal workout plan", "Monthly nutrition guide", "Check-ins every two weeks", "Full gym access"], false], ["Transform", 149, 119, ["Custom weekly workout plans", "Monthly meal plans with recipes", "Weekly 30-minute video coaching", "Access to member workshops"], true], ["Elite", 229, 183, ["Custom training and nutrition", "Two 1:1 sessions every week", "Unlimited plan changes", "Recovery and mobility sessions"], false]] %>
<!-- block:start pricing -->
  <section class="mx-auto max-w-7xl px-5 py-20 text-center md:px-10 md:py-28" data-pricing>
    <h2 class="text-4xl font-semibold tracking-tight md:text-5xl">Choose <span class="font-serif font-normal italic">the plan</span> that fits</h2>
    <p class="mx-auto mt-4 max-w-md text-coal/70">Every plan includes the app, the community and a coach in your corner.</p>
    <label class="mt-8 inline-flex cursor-pointer items-center gap-3 text-sm font-medium uppercase">Monthly<span class="relative inline-flex"><input type="checkbox" data-annual class="peer sr-only"><span class="h-7 w-12 rounded-full bg-coal"></span><span class="absolute left-1 top-1 h-5 w-5 rounded-full bg-flame transition peer-checked:translate-x-5 peer-focus-visible:ring-2 peer-focus-visible:ring-flame peer-focus-visible:ring-offset-2"></span></span>Annual <span class="rounded-full bg-flame/10 px-2 py-0.5 text-xs text-flame-deep">−20%</span></label>
    <ul class="mx-auto mt-12 grid max-w-5xl gap-4 text-left md:grid-cols-3">
      <% plans.each do |(name, monthly, annual, perks, featured)| %>
        <li class="flex flex-col rounded-3xl p-3 <%= featured ? 'bg-coal text-white' : 'bg-mist' %>">
          <div class="flex items-center justify-between px-3 pt-4"><p><span class="text-3xl font-semibold">$<span data-price data-monthly="<%= monthly %>" data-annual="<%= annual %>"><%= monthly %></span></span> <span class="text-xs uppercase <%= featured ? 'text-white/50' : 'text-coal/50' %>">/month</span></p><span class="grid h-7 w-7 place-items-center rounded-full <%= featured ? 'bg-white text-coal' : 'bg-coal text-white' %>" aria-hidden="true"><i class="fa-solid fa-plus text-xs" aria-hidden="true"></i></span></div>
          <p class="mt-3 flex items-center gap-3 px-3 text-sm font-medium uppercase"><%= name %> plan<% if featured %><span class="rounded-full bg-white px-2 py-0.5 text-[10px] text-coal">Popular</span><% end %></p>
          <div class="mt-5 flex-1 rounded-2xl p-5 <%= featured ? 'bg-coal-soft' : 'bg-white' %>">
            <p class="text-sm font-medium">What's included</p>
            <ul class="mt-5 grid gap-2.5 text-sm <%= featured ? 'text-white/80' : 'text-coal/75' %>">
              <% perks.each do |perk| %><li class="flex gap-2"><i class="fa-solid fa-check mt-1 text-xs" aria-hidden="true"></i><%= perk %></li><% end %>
            </ul>
          </div>
          <a href="contact.html" class="mt-4 rounded-full py-3.5 text-center text-xs font-semibold uppercase tracking-wide transition <%= featured ? 'bg-flame text-white hover:bg-flame-deep' : 'bg-coal-soft text-white hover:bg-coal' %>">Get started</a>
        </li>
      <% end %>
    </ul>
    <p class="mt-6 text-sm text-coal/60" data-billing-note aria-live="polite">Billed monthly. Cancel anytime.</p>
  </section>
  <!-- block:end pricing -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;

    document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') === 'true';
        button.setAttribute('aria-expanded', String(!open));
        menu.classList.toggle('hidden', open);
      });
    });

    document.querySelectorAll('[data-video]').forEach((dialog) => {
      document.querySelectorAll('[data-video-open]').forEach((button) => button.addEventListener('click', () => dialog.showModal()));
      dialog.querySelector('[data-video-close]').addEventListener('click', () => dialog.close());
      dialog.addEventListener('click', (event) => { if (event.target === dialog) dialog.close(); });
    });

    document.querySelectorAll('[data-carousel], [data-rail]').forEach((root) => {
      const track = root.querySelector('[data-carousel-track], [data-rail-track]');
      const step = () => track.children[1].getBoundingClientRect().width + 20;
      const go = (dir) => {
        const max = track.scrollWidth - track.clientWidth - 4;
        if (dir > 0 && track.scrollLeft >= max) track.scrollTo({ left: 0, behavior: reducedMotion ? 'auto' : 'smooth' });
        else if (dir < 0 && track.scrollLeft <= 4) track.scrollTo({ left: track.scrollWidth, behavior: reducedMotion ? 'auto' : 'smooth' });
        else track.scrollBy({ left: dir * step(), behavior: reducedMotion ? 'auto' : 'smooth' });
      };
      root.querySelector('[data-carousel-prev], [data-rail-prev]').addEventListener('click', () => go(-1));
      root.querySelector('[data-carousel-next], [data-rail-next]').addEventListener('click', () => go(1));
    });

    document.querySelectorAll('[data-services]').forEach((root) => {
      const cards = [...root.querySelectorAll('[data-service]')];
      const set = (card) => cards.forEach((other) => other.setAttribute('aria-current', String(other === card)));
      cards.forEach((card) => { card.addEventListener('mouseenter', () => set(card)); card.addEventListener('focus', () => set(card)); });
    });

    document.querySelectorAll('[data-tracker]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-routine-data]').textContent);
      const tabs = [...root.querySelectorAll('[data-routine]')];
      tabs.forEach((tab) => tab.addEventListener('click', () => {
        tabs.forEach((other) => other.setAttribute('aria-selected', String(other === tab)));
        const item = data[tab.dataset.routine];
        root.querySelector('[data-track-label]').textContent = item.text;
        root.querySelector('[data-track-score]').textContent = item.score;
        root.querySelector('[data-track-delta]').textContent = item.delta;
        const bar = root.querySelector('[data-track-bar]');
        bar.style.width = `${item.percent}%`;
        bar.parentElement.setAttribute('aria-valuenow', String(item.percent));
      }));
    });

    document.querySelectorAll('[data-pricing]').forEach((root) => {
      const toggle = root.querySelector('[data-annual]');
      toggle.addEventListener('change', () => {
        root.querySelectorAll('[data-price]').forEach((price) => { price.textContent = toggle.checked ? price.dataset.annual : price.dataset.monthly; });
        root.querySelector('[data-billing-note]').textContent = toggle.checked ? 'Billed yearly — you save 20%. Cancel anytime.' : 'Billed monthly. Cancel anytime.';
      });
    });

    document.querySelectorAll('[data-newsletter]').forEach((form) => {
      const status = form.parentElement.querySelector('[data-form-status]');
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const email = form.querySelector('[name="email"]');
        if (!email.value.trim() || !email.checkValidity()) { status.textContent = 'Please enter a valid email address.'; email.focus(); return; }
        status.textContent = "You're in! Look out for your first workout this week.";
        form.reset();
      });
    });

    if (watchMotion) {
      document.documentElement.classList.add('reveal-ready');
      const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
        if (entry.isIntersecting) { entry.target.classList.add('is-visible'); observer.unobserve(entry.target); }
      }), { threshold: 0.15 });
      document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
    }
  </script>
</body>
</html>

From this template

Corevia screenshot

Health & Fitness

Corevia

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access