Free
Demo
Movara Demo
A demo block extracted from the Movara template, available in Tailwind CSS.
0
4
A demo block extracted from the Movara template, available in Tailwind CSS.
Free download · up to 5 blocks per day. Unlimited with All-Access
<!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>Movara Demo | Tailwind CSS UI Block</title>
<meta name="description" content="A demo block extracted from the Movara template, available in Tailwind CSS.">
<meta name="keywords" content="Movara, Tailwind CSS template, HTML website template, fitness template, gym website, class schedule, personal trainers, fitness app, membership pricing, workout studio">
<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="Movara | Tailwind CSS Health & Fitness Template">
<meta property="og:description" content="A friendly Tailwind CSS gym template with a bookable class schedule, weekly plan builder, trainer profiles and membership pricing.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Movara template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Movara | Tailwind CSS Health & Fitness Template">
<meta name="twitter:description" content="A friendly Tailwind CSS gym template with a bookable class schedule, weekly plan builder, trainer profiles and membership pricing.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Movara 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=Jost:wght@300;400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { leaf: { DEFAULT: '#a3e78c', deep: '#5fbf4a', soft: '#e3f7da' }, ink: { DEFAULT: '#1c1c1a', soft: '#3a3a36' }, sun: '#f6c25e', iris: '#98acf6', sage: '#a6c99d', cloud: '#f4f5f2' },
fontFamily: { sans: ['Jost', 'sans-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; } }
@keyframes drift-left { to { transform: translateX(-50%); } }
@keyframes drift-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.drift-left { animation: drift-left 45s linear infinite; }
.drift-right { animation: drift-right 45s linear infinite; }
.drift-left:hover, .drift-right:hover { animation-play-state: paused; }
.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; }
.drift-left, .drift-right { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start demo -->
<section id="plan" class="px-3 md:px-5" data-planner>
<div class="relative overflow-hidden rounded-[2rem] bg-sage md:rounded-[2.5rem]">
<svg viewBox="0 0 200 140" class="pointer-events-none absolute -right-6 top-6 h-32 w-44 text-white/70" aria-hidden="true"><path d="M10 20c40-20 80 10 60 40s-50 0-20-20 90 10 120 70" fill="none" stroke="currentColor" stroke-width="5" stroke-linecap="round"/></svg>
<div class="mx-auto grid max-w-7xl gap-10 px-6 py-14 md:px-12 md:py-20 lg:grid-cols-[1fr_1.4fr]">
<div>
<h2 class="text-4xl uppercase leading-[1.05] md:text-5xl">Build your week in ten seconds</h2>
<p class="mt-4 max-w-sm text-ink/70">Pick a goal and how often you can train. We will lay out a balanced week from our live timetable.</p>
<p class="mt-8 text-sm font-medium uppercase tracking-wide">Your goal</p>
<div class="mt-3 flex flex-wrap gap-2" role="radiogroup" aria-label="Your goal">
<button type="button" role="radio" data-goal="lose" aria-checked="true" class="rounded-full bg-white/60 px-4 py-2 text-sm transition hover:bg-white aria-checked:bg-ink aria-checked:text-white">Lose weight</button>
<button type="button" role="radio" data-goal="strength" aria-checked="false" class="rounded-full bg-white/60 px-4 py-2 text-sm transition hover:bg-white aria-checked:bg-ink aria-checked:text-white">Build strength</button>
<button type="button" role="radio" data-goal="flex" aria-checked="false" class="rounded-full bg-white/60 px-4 py-2 text-sm transition hover:bg-white aria-checked:bg-ink aria-checked:text-white">Move better</button>
<button type="button" role="radio" data-goal="energy" aria-checked="false" class="rounded-full bg-white/60 px-4 py-2 text-sm transition hover:bg-white aria-checked:bg-ink aria-checked:text-white">More energy</button>
</div>
<p class="mt-8 text-sm font-medium uppercase tracking-wide">Sessions per week</p>
<div class="mt-3 flex w-fit items-center gap-4 rounded-full bg-white p-1.5">
<button type="button" data-sessions-step="-1" class="grid h-10 w-10 place-items-center rounded-full bg-cloud transition hover:bg-leaf" aria-label="Fewer sessions"><i class="fa-solid fa-minus" aria-hidden="true"></i></button>
<output class="w-8 text-center text-2xl" data-sessions aria-live="polite">3</output>
<button type="button" data-sessions-step="1" class="grid h-10 w-10 place-items-center rounded-full bg-cloud transition hover:bg-leaf" aria-label="More sessions"><i class="fa-solid fa-plus" aria-hidden="true"></i></button>
</div>
</div>
<div class="rounded-[1.75rem] bg-white p-5 md:p-7">
<ol class="grid grid-cols-7 gap-1.5 md:gap-2">
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="0" data-on="true">
<span class="text-xs font-medium uppercase">Mon</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>HIIT Burn</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="1" data-on="false">
<span class="text-xs font-medium uppercase">Tue</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Rest</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="2" data-on="true">
<span class="text-xs font-medium uppercase">Wed</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Spin Ride</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="3" data-on="false">
<span class="text-xs font-medium uppercase">Thu</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Rest</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="4" data-on="true">
<span class="text-xs font-medium uppercase">Fri</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Dance Cardio</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="5" data-on="false">
<span class="text-xs font-medium uppercase">Sat</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Rest</span>
</li>
<li class="flex min-h-[9rem] flex-col items-center gap-2 rounded-2xl bg-cloud px-1 py-3 text-center transition data-[on=true]:bg-leaf" data-day="6" data-on="false">
<span class="text-xs font-medium uppercase">Sun</span>
<span class="mt-auto text-[11px] leading-tight [writing-mode:vertical-rl] rotate-180 md:text-xs" data-day-class>Rest</span>
</li>
</ol>
<dl class="mt-6 grid grid-cols-3 gap-3 border-t border-ink/10 pt-5 text-center">
<div><dt class="text-xs uppercase text-ink/50">Minutes</dt><dd class="text-3xl" data-plan-minutes>135</dd></div>
<div><dt class="text-xs uppercase text-ink/50">Est. kcal</dt><dd class="text-3xl" data-plan-kcal>1,560</dd></div>
<div><dt class="text-xs uppercase text-ink/50">Rest days</dt><dd class="text-3xl" data-plan-rest>4</dd></div>
</dl>
<a href="pricing.html" class="mt-6 block rounded-full bg-ink py-3 text-center font-medium text-white transition hover:bg-ink-soft">Save this plan</a>
</div>
</div>
</div>
<script type="application/json" data-goal-data>{"lose":{"classes":["HIIT Burn","Spin Ride","Dance Cardio","Strength Lab","Spin Ride","HIIT Burn"],"kcal":520},"strength":{"classes":["Strength Lab","Kickboxing","Strength Lab","Pilates Core","Strength Lab","HIIT Burn"],"kcal":430},"flex":{"classes":["Yoga Flow","Pilates Core","Yoga Flow","Dance Cardio","Pilates Core","Yoga Flow"],"kcal":280},"energy":{"classes":["Dance Cardio","Yoga Flow","Spin Ride","Kickboxing","Dance Cardio","Pilates Core"],"kcal":390}}</script>
</section>
<!-- block:end demo -->
<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-schedule]').forEach((root) => {
const tabs = [...root.querySelectorAll('[role="tab"]')];
const select = (tab, focus) => {
tabs.forEach((other) => { const on = other === tab; other.setAttribute('aria-selected', String(on)); other.tabIndex = on ? 0 : -1; document.getElementById(other.getAttribute('aria-controls')).hidden = !on; });
if (focus) tab.focus();
};
tabs.forEach((tab, i) => {
tab.addEventListener('click', () => select(tab));
tab.addEventListener('keydown', (event) => {
if (event.key === 'ArrowRight') select(tabs[(i + 1) % tabs.length], true);
if (event.key === 'ArrowLeft') select(tabs[(i - 1 + tabs.length) % tabs.length], true);
});
});
});
document.querySelectorAll('[data-booking]').forEach((row) => {
const button = row.querySelector('[data-book]');
const spots = row.querySelector('[data-spots]');
button.addEventListener('click', () => {
const booked = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(booked));
button.textContent = booked ? 'Booked' : 'Book now';
spots.textContent = Number(spots.textContent) + (booked ? -1 : 1);
});
});
document.querySelectorAll('[data-planner]').forEach((root) => {
const data = JSON.parse(root.querySelector('[data-goal-data]').textContent);
const goals = [...root.querySelectorAll('[data-goal]')];
const output = root.querySelector('[data-sessions]');
const layouts = { 2: [1, 4], 3: [0, 2, 4], 4: [0, 1, 3, 5], 5: [0, 1, 3, 4, 5], 6: [0, 1, 2, 3, 4, 5] };
let goal = goals[0].dataset.goal;
let sessions = 3;
const render = () => {
const picks = layouts[sessions];
root.querySelectorAll('[data-day]').forEach((day) => {
const slot = picks.indexOf(Number(day.dataset.day));
day.dataset.on = String(slot >= 0);
day.querySelector('[data-day-class]').textContent = slot >= 0 ? data[goal].classes[slot] : 'Rest';
});
output.textContent = sessions;
root.querySelector('[data-plan-minutes]').textContent = sessions * 45;
root.querySelector('[data-plan-kcal]').textContent = (sessions * data[goal].kcal).toLocaleString('en-US');
root.querySelector('[data-plan-rest]').textContent = 7 - sessions;
};
goals.forEach((button) => button.addEventListener('click', () => {
goals.forEach((other) => other.setAttribute('aria-checked', String(other === button)));
goal = button.dataset.goal;
render();
}));
root.querySelectorAll('[data-sessions-step]').forEach((button) => button.addEventListener('click', () => {
sessions = Math.min(6, Math.max(2, sessions + Number(button.dataset.sessionsStep)));
render();
}));
});
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));
const counter = new IntersectionObserver((entries) => entries.forEach((entry) => {
if (!entry.isIntersecting) return;
const el = entry.target; const end = Number(el.dataset.count); const start = performance.now();
const tick = (now) => { const p = Math.min((now - start) / 900, 1); el.textContent = Math.round(end * p) + (p === 1 ? el.dataset.suffix : ''); if (p < 1) requestAnimationFrame(tick); };
requestAnimationFrame(tick); counter.unobserve(el);
}), { threshold: 0.5 });
document.querySelectorAll('[data-count]').forEach((el) => counter.observe(el));
}
</script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>
Premium
Health & Fitness
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download