Free
Navbar
Torchwell Navbar
A navbar block extracted from the Torchwell template, available in Tailwind CSS.
0
15
A navbar block extracted from the Torchwell 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>Torchwell Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Torchwell template, available in Tailwind CSS.">
<meta name="keywords" content="Torchwell, Tailwind CSS template, HTML website template, agency template, creative studio website, branding agency, design studio portfolio, web design agency, case study page, agency pricing">
<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="Torchwell | Tailwind CSS Agency Template">
<meta property="og:description" content="A bold Tailwind CSS agency template for creative studios, with a giant wordmark hero, a project deck, a process dial and scattered testimonial cards.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Torchwell template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Torchwell | Tailwind CSS Agency Template">
<meta name="twitter:description" content="A bold Tailwind CSS agency template for creative studios, with a giant wordmark hero, a project deck, a process dial and scattered testimonial cards.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Torchwell 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=Anton&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { ember: { DEFAULT: '#ff6633', soft: '#ff9a74' }, cream: '#f8f0e1', ink: '#171717', wine: { DEFAULT: '#3d0404', deep: '#240202' } },
fontFamily: { sans: ['Inter', 'sans-serif'], display: ['Anton', '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; } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.marquee { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.lit-word { transition: color .3s ease; }
.deck-card { transition: transform .5s ease, opacity .5s ease; }
.dial-fill { transition: stroke-dashoffset .6s ease; }
.quote-card { transition: transform .35s ease, box-shadow .35s ease; }
.quote-card:hover, .quote-card:focus-visible { transform: rotate(0deg) scale(1.04); z-index: 20; }
.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; }
.marquee { animation: none; }
.lit-word, .deck-card, .dial-fill, .quote-card { transition: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body id="top" class="bg-cream font-sans text-ink antialiased">
<!-- preview canvas: shows overlay navbars on the original hero surface -->
<div class="block-preview-canvas bg-wine" style="position:relative;min-height:12rem">
<!-- block:start navbar -->
<header class="absolute inset-x-0 top-0 z-40">
<nav class="mx-auto flex max-w-7xl items-center justify-between gap-4 px-5 py-6 md:px-10" aria-label="Main">
<a href="index.html" class="font-display text-2xl uppercase tracking-wide text-white">Torchwell Studio</a>
<div class="flex items-center gap-2">
<ul class="hidden items-center gap-2 lg:flex">
<li><a href="index.html" aria-current="page" class="block rounded-full px-5 py-2 text-xs font-medium uppercase tracking-wider transition bg-ember text-ink">Home</a></li>
<li><a href="about.html" class="block rounded-full px-5 py-2 text-xs font-medium uppercase tracking-wider transition bg-white/10 text-white hover:bg-white/20">About</a></li>
<li><a href="services.html" class="block rounded-full px-5 py-2 text-xs font-medium uppercase tracking-wider transition bg-white/10 text-white hover:bg-white/20">Services</a></li>
<li><a href="works.html" class="block rounded-full px-5 py-2 text-xs font-medium uppercase tracking-wider transition bg-white/10 text-white hover:bg-white/20">Works</a></li>
<li><a href="pricing.html" class="block rounded-full px-5 py-2 text-xs font-medium uppercase tracking-wider transition bg-white/10 text-white hover:bg-white/20">Pricing</a></li>
</ul>
<button type="button" data-menu-toggle aria-controls="site-menu" aria-expanded="false" class="grid h-10 w-10 place-items-center rounded-full bg-white/10 text-white transition hover:bg-ember hover:text-ink" aria-label="Open menu"><i class="fa-solid fa-bars-staggered" aria-hidden="true"></i></button>
</div>
</nav>
<div id="site-menu" hidden class="fixed inset-0 z-50 overflow-y-auto bg-ink text-cream">
<div class="mx-auto flex min-h-full max-w-7xl flex-col px-5 py-6 md:px-10">
<div class="flex items-center justify-between">
<a href="index.html" class="font-display text-2xl uppercase tracking-wide">Torchwell Studio</a>
<button type="button" data-menu-close class="grid h-10 w-10 place-items-center rounded-full bg-ember text-ink" aria-label="Close menu"><i class="fa-solid fa-xmark" aria-hidden="true"></i></button>
</div>
<div class="my-auto grid gap-10 py-12 lg:grid-cols-[1.3fr_1fr] lg:items-center">
<ul class="grid gap-1">
<li><a href="index.html" aria-current="page" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl text-ember"><span class="font-sans text-sm text-cream/50">(01)</span>Home</a></li>
<li><a href="about.html" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl hover:text-ember"><span class="font-sans text-sm text-cream/50">(02)</span>About</a></li>
<li><a href="services.html" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl hover:text-ember"><span class="font-sans text-sm text-cream/50">(03)</span>Services</a></li>
<li><a href="works.html" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl hover:text-ember"><span class="font-sans text-sm text-cream/50">(04)</span>Works</a></li>
<li><a href="pricing.html" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl hover:text-ember"><span class="font-sans text-sm text-cream/50">(05)</span>Pricing</a></li>
<li><a href="contact.html" class="group flex items-baseline gap-4 font-display text-5xl uppercase leading-tight transition md:text-7xl hover:text-ember"><span class="font-sans text-sm text-cream/50">(06)</span>Contact</a></li>
</ul>
<div class="hidden overflow-hidden rounded-3xl bg-wine lg:block">
<img src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=800&h=560&q=80" alt="Portrait of a woman in soft studio light" class="h-72 w-full object-cover opacity-90 mix-blend-luminosity">
<div class="p-7">
<p class="font-display text-3xl uppercase">Got a brand to wake up?</p>
<a href="mailto:hello@torchwell.studio" class="mt-2 inline-block text-cream/70 underline-offset-4 hover:underline">hello@torchwell.studio</a>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- block:end navbar -->
</div>
<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'));
const close = menu.querySelector('[data-menu-close]');
const set = (open) => { menu.hidden = !open; button.setAttribute('aria-expanded', String(open)); document.body.style.overflow = open ? 'hidden' : ''; (open ? close : button).focus(); };
button.addEventListener('click', () => set(menu.hidden));
close.addEventListener('click', () => set(false));
document.addEventListener('keydown', (event) => { if (event.key === 'Escape' && !menu.hidden) set(false); });
});
document.querySelectorAll('[data-lit]').forEach((root) => {
if (!watchMotion) return;
const words = [...root.querySelectorAll('[data-lit-word]')];
const update = () => {
const box = root.getBoundingClientRect();
const progress = Math.min(1, Math.max(0, (innerHeight * 0.85 - box.top) / (box.height + innerHeight * 0.35)));
const lit = Math.max(4, Math.round(progress * words.length));
words.forEach((word, i) => { word.classList.toggle('text-white', i < lit); word.classList.toggle('text-white/40', i >= lit); });
};
update();
addEventListener('scroll', update, { passive: true });
});
document.querySelectorAll('[data-services]').forEach((root) => {
const buttons = [...root.querySelectorAll('[data-service]')];
const photos = [...root.querySelectorAll('[data-service-photo]')];
buttons.forEach((button) => button.addEventListener('click', () => {
const opening = button.getAttribute('aria-expanded') !== 'true';
buttons.forEach((other) => {
const open = other === button && opening;
other.setAttribute('aria-expanded', String(open));
document.getElementById(other.getAttribute('aria-controls')).hidden = !open;
const chevron = other.querySelector('[data-chevron]');
chevron.classList.toggle('rotate-180', open);
chevron.classList.toggle('text-ember', open);
});
if (opening) photos.forEach((photo) => { const on = photo.dataset.servicePhoto === button.dataset.service; photo.classList.toggle('opacity-100', on); photo.classList.toggle('opacity-0', !on); });
}));
});
document.querySelectorAll('[data-deck]').forEach((root) => {
const dots = [...root.querySelectorAll('[data-deck-dot]')];
const minis = [...root.querySelectorAll('[data-deck-mini]')];
const photos = [...root.querySelectorAll('[data-deck-photo]')];
let current = 0;
const show = (index) => {
current = (index + dots.length) % dots.length;
const dot = dots[current];
minis.forEach((mini, i) => { const on = i === current; mini.classList.toggle('opacity-100', on); mini.classList.toggle('opacity-0', !on); mini.classList.toggle('translate-y-4', !on); mini.classList.toggle('rotate-3', !on); });
photos.forEach((photo, i) => { const on = i === current; photo.classList.toggle('opacity-100', on); photo.classList.toggle('opacity-0', !on); photo.classList.toggle('scale-105', !on); });
dots.forEach((other, i) => other.setAttribute('aria-pressed', String(i === current)));
root.querySelector('[data-deck-name]').textContent = dot.dataset.name;
root.querySelector('[data-deck-kind]').textContent = dot.dataset.kind;
root.querySelector('[data-deck-year]').textContent = dot.dataset.year;
root.querySelector('[data-deck-index]').textContent = String(current + 1).padStart(2, '0');
root.querySelector('[data-deck-link]').href = dot.dataset.href;
};
root.querySelector('[data-deck-prev]').addEventListener('click', () => show(current - 1));
root.querySelector('[data-deck-next]').addEventListener('click', () => show(current + 1));
dots.forEach((dot, i) => dot.addEventListener('click', () => show(i)));
root.addEventListener('keydown', (event) => { if (event.key === 'ArrowLeft') show(current - 1); if (event.key === 'ArrowRight') show(current + 1); });
});
document.querySelectorAll('[data-dial]').forEach((root) => {
const tabs = [...root.querySelectorAll('[data-step]')];
const data = [...root.querySelectorAll('[data-step-data]')];
const fill = root.querySelector('[data-dial-fill]');
const select = (index, focus) => {
tabs.forEach((tab, i) => { tab.setAttribute('aria-selected', String(i === index)); tab.tabIndex = i === index ? 0 : -1; });
root.querySelector('[role="tabpanel"]').setAttribute('aria-labelledby', tabs[index].id);
root.querySelector('[data-step-number]').textContent = String(index + 1).padStart(2, '0');
root.querySelector('[data-step-title]').textContent = data[index].dataset.title;
root.querySelector('[data-step-text]').textContent = data[index].dataset.text;
fill.style.strokeDashoffset = 289.03 * (1 - (index + 1) / tabs.length);
if (focus) tabs[index].focus();
};
tabs.forEach((tab, i) => {
tab.addEventListener('click', () => select(i));
tab.addEventListener('keydown', (event) => {
if (event.key === 'ArrowRight' || event.key === 'ArrowDown') { event.preventDefault(); select((i + 1) % tabs.length, true); }
if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') { event.preventDefault(); select((i - 1 + tabs.length) % tabs.length, true); }
});
});
select(0);
});
document.querySelectorAll('[data-accordion]').forEach((root) => {
root.querySelectorAll('[data-accordion-button]').forEach((button) => button.addEventListener('click', () => {
const open = button.getAttribute('aria-expanded') !== 'true';
root.querySelectorAll('[data-accordion-button]').forEach((other) => {
const on = other === button && open;
other.setAttribute('aria-expanded', String(on));
document.getElementById(other.getAttribute('aria-controls')).hidden = !on;
other.querySelector('svg, i').classList.toggle('rotate-45', on);
});
}));
});
document.querySelectorAll('[data-count]').forEach((el) => {
if (!watchMotion) return;
const target = Number(el.dataset.count);
const observer = new IntersectionObserver(([entry]) => {
if (!entry.isIntersecting) return;
observer.disconnect();
const start = performance.now();
const tick = (now) => { const t = Math.min(1, (now - start) / 700); el.textContent = Math.round(target * t); if (t < 1) requestAnimationFrame(tick); };
requestAnimationFrame(tick);
});
observer.observe(el);
});
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>
<!-- 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
Agency
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download