Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Hero

Threefold Hero

A hero block extracted from the Threefold template, available in Tailwind CSS.

0 11
Threefold Hero preview
threefold.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>Threefold Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Threefold template, available in Tailwind CSS.">
  <meta name="keywords" content="Threefold, Tailwind CSS template, HTML website template, brand consultancy template, strategy studio website, consulting template, minimal agency website, case study page, light portfolio">
  <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="Threefold | Tailwind CSS Brand Consultancy Template">
  <meta property="og:description" content="A light, minimal Tailwind CSS template for brand consultancies and strategy studios, with hatched ribbon graphics, a three-strand services explorer, selected work and a case study.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Threefold template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Threefold | Tailwind CSS Brand Consultancy Template">
  <meta name="twitter:description" content="A light, minimal Tailwind CSS template for brand consultancies and strategy studios, with hatched ribbon graphics, a three-strand services explorer, selected work and a case study.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Threefold 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=Outfit:wght@200;300;400;500&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            paper: { DEFAULT: '#f3f3f1', deep: '#e9e9e6' },
            graphite: { DEFAULT: '#151515', soft: '#6f6f6b', line: '#d6d6d2' },
            coral: { DEFAULT: '#ee4c58', deep: '#d53643' },
            mint: '#6fdcb9'
          },
          fontFamily: {
            sans: ['Outfit', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .hatch { background-image: repeating-linear-gradient(-55deg, #ee4c58 0 1px, transparent 1px 6px); }
    .hatch-mint { background-image: repeating-linear-gradient(-55deg, #3fbf98 0 1px, transparent 1px 6px); }
    .strand { fill: none; stroke: #c4c4bf; stroke-width: 1.5; transition: stroke-width .5s ease; }
    [data-strand-active="strategy"] .strand-strategy,
    [data-strand-active="craft"] .strand-craft,
    [data-strand-active="experience"] .strand-experience { stroke: url(#strand-hatch); stroke-width: 54; }
    .bar-fill { transform-origin: left; }
    .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; }
    .reveal-ready [data-reveal] .bar-fill { transform: scaleX(0); transition: transform .7s ease .2s; }
    .reveal-ready [data-reveal].is-visible .bar-fill { transform: none; }
  </style>
</head>
<body class="bg-paper font-sans font-light text-graphite antialiased">
<!-- block:start hero -->
    <section id="top" class="relative flex min-h-[100svh] flex-col justify-end overflow-hidden">
      <svg class="pointer-events-none absolute -right-[30%] top-0 h-full w-[130%] opacity-60 sm:opacity-100 sm:-right-[12%] sm:w-[85%] lg:right-0 lg:w-[62%]" viewBox="0 0 800 900" preserveAspectRatio="xMidYMid slice" aria-hidden="true" data-ribbon>
        <defs>
          <pattern id="hero-hatch" width="6" height="6" patternUnits="userSpaceOnUse" patternTransform="rotate(-20)">
            <line x1="0" y1="0" x2="6" y2="0" stroke="#ee4c58" stroke-width="1"/>
          </pattern>
        </defs>
        <path d="M720 -40 C 520 160, 660 330, 460 500 S 300 800, 180 960" fill="none" stroke="url(#hero-hatch)" stroke-width="92" data-ribbon-layer="14"/>
        <path d="M430 -40 C 560 180, 380 320, 540 520 S 700 780, 560 960" fill="none" stroke="url(#hero-hatch)" stroke-width="58" opacity=".75" data-ribbon-layer="-10"/>
        <path d="M300 120 C 420 300, 620 360, 640 620" fill="none" stroke="#6fdcb9" stroke-width="1.5" data-ribbon-layer="22"/>
        <path d="M820 200 C 640 330, 700 560, 520 720" fill="none" stroke="#ee4c58" stroke-width="1" opacity=".6" data-ribbon-layer="-18"/>
      </svg>
      <div class="relative mx-auto w-full max-w-[1400px] px-6 pb-16 pt-40 md:px-16 md:pb-24">
        <h1 class="max-w-[15ch] text-[clamp(2.5rem,5.6vw,5.25rem)] font-light leading-[1.08] tracking-[-0.01em]">Strategy, craft and experience, woven into one brand.</h1>
        <div class="mt-12 flex items-end justify-between gap-6">
          <p class="max-w-sm text-lg text-graphite-soft">An independent brand consultancy for companies that have outgrown their first identity.</p>
          <a href="#studio" class="hidden shrink-0 text-lg text-graphite-soft hover:text-coral sm:inline">Scroll</a>
        </div>
      </div>
    </section>
    <!-- block:end hero -->
<script>
    // Full-screen menu.
    (() => {
      const button = document.querySelector("[data-menu-toggle]");
      const menu = button && document.getElementById(button.getAttribute("aria-controls"));
      if (!menu) return;
      const set = (open) => {
        button.setAttribute("aria-expanded", String(open));
        menu.classList.toggle("hidden", !open);
        document.documentElement.style.overflow = open ? "hidden" : "";
        if (open) menu.querySelector("[data-menu-close]")?.focus(); else button.focus();
      };
      button.addEventListener("click", () => set(true));
      menu.querySelector("[data-menu-close]")?.addEventListener("click", () => set(false));
      document.addEventListener("keydown", (event) => { if (event.key === "Escape" && !menu.classList.contains("hidden")) set(false); });
    })();

    (() => {
      const items = document.querySelectorAll("[data-reveal]");
      const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
      if (!items.length || skip) return;
      document.documentElement.classList.add("reveal-ready");
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          entry.target.classList.add("is-visible");
          observer.unobserve(entry.target);
        });
      }, { rootMargin: "0px 0px -10% 0px" });
      items.forEach((item) => observer.observe(item));
    })();

    // Tabs. A [data-tabs-reflect] element inside the group mirrors the active tab, which redraws the strands.
    document.querySelectorAll("[data-tabs]").forEach((root) => {
      const tabs = [...root.querySelectorAll("[data-tab]")];
      const select = (tab) => {
        tabs.forEach((item) => item.setAttribute("aria-selected", String(item === tab)));
        root.querySelectorAll("[data-tab-panel]").forEach((panel) => { panel.hidden = panel.dataset.tabPanel !== tab.dataset.tab; });
        root.querySelectorAll("[data-tabs-reflect]").forEach((target) => { target.dataset.strandActive = tab.dataset.tab; });
      };
      tabs.forEach((tab, index) => {
        tab.addEventListener("click", () => select(tab));
        tab.addEventListener("keydown", (event) => {
          if (!["ArrowRight", "ArrowLeft"].includes(event.key)) return;
          event.preventDefault();
          const next = tabs[(index + (event.key === "ArrowRight" ? 1 : -1) + tabs.length) % tabs.length];
          next.focus();
          select(next);
        });
      });
    });

    // Switchers: featured project and client quotes.
    document.querySelectorAll("[data-switcher]").forEach((root) => {
      root.addEventListener("click", (event) => {
        const button = event.target.closest("[data-switch]");
        if (!button) return;
        root.querySelectorAll("[data-switch]").forEach((item) => item.setAttribute("aria-selected", String(item === button)));
        root.querySelectorAll("[data-switch-panel]").forEach((panel) => { panel.hidden = panel.dataset.switchPanel !== button.dataset.switch; });
      });
    });

    // Hero ribbons drift with the pointer.
    (() => {
      const ribbon = document.querySelector("[data-ribbon]");
      if (!ribbon || navigator.webdriver || !matchMedia("(pointer: fine)").matches || matchMedia("(prefers-reduced-motion: reduce)").matches) return;
      const layers = ribbon.querySelectorAll("[data-ribbon-layer]");
      layers.forEach((layer) => { layer.style.transition = "transform .6s ease-out"; });
      addEventListener("pointermove", (event) => {
        const x = event.clientX / innerWidth - 0.5;
        const y = event.clientY / innerHeight - 0.5;
        layers.forEach((layer) => { const depth = Number(layer.dataset.ribbonLayer); layer.style.transform = `translate(${x * depth}px, ${y * depth}px)`; });
      });
    })();

    // Filter chips on the work page.
    document.querySelectorAll("[data-filter-group]").forEach((group) => {
      const items = group.parentElement.querySelectorAll("[data-filter-items] [data-category]");
      group.addEventListener("click", (event) => {
        const button = event.target.closest("[data-filter]");
        if (!button) return;
        const filter = button.dataset.filter;
        group.querySelectorAll("[data-filter]").forEach((chip) => chip.setAttribute("aria-pressed", String(chip === button)));
        items.forEach((item) => { item.hidden = !(filter === "all" || item.dataset.category.split(" ").includes(filter)); });
      });
    });

    // Contact form confirms in place.
    document.querySelectorAll("[data-contact-form]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const status = form.querySelector("[data-contact-status]");
        const name = form.querySelector("[name=name]")?.value.trim().split(" ")[0] || "there";
        const topics = [...form.querySelectorAll("[name=topic]:checked")].map((box) => box.value.toLowerCase());
        status.textContent = `Thanks, ${name}. We will reply within two working days${topics.length ? ` about ${topics.join(" and ")}` : ""}.`;
        status.hidden = false;
        form.reset();
      });
    });

    // Copy the studio email.
    document.querySelectorAll("[data-copy]").forEach((button) => {
      button.addEventListener("click", async () => {
        const label = button.querySelector("[data-copy-label]");
        try { await navigator.clipboard.writeText(button.dataset.copy); label.textContent = "Copied"; } catch { label.textContent = button.dataset.copy; }
        setTimeout(() => { label.textContent = "Copy"; }, 2000);
      });
    });
  </script>
<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>

From this template

Threefold screenshot

Professional Services

Threefold

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