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

Glyphwell Hero

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

0 2
Glyphwell Hero preview
glyphwell.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>Glyphwell Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Glyphwell template, available in Tailwind CSS.">
  <meta name="keywords" content="Glyphwell, Tailwind CSS template, HTML website template, SaaS template, developer tool landing page, API product website, web font service, live demo section, pricing calculator, minimal serif design">
  <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="Glyphwell | Tailwind CSS SaaS Template">
  <meta property="og:description" content="A quiet Tailwind CSS SaaS template for developer tools and APIs, with drifting colour-split letters, a snippet you can copy, a live type specimen that writes its own embed code, a price slider and pages for features, pricing and contact.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Glyphwell template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Glyphwell | Tailwind CSS SaaS Template">
  <meta name="twitter:description" content="A quiet Tailwind CSS SaaS template for developer tools and APIs, with drifting colour-split letters, a snippet you can copy, a live type specimen that writes its own embed code, a price slider and pages for features, pricing and contact.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Glyphwell 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=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Instrument+Sans:wght@400..700&family=JetBrains+Mono:wght@300..800&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: '#161616',
            mist: '#767676',
            rule: '#e4e4e4',
            cyan: '#00c8ff',
            magenta: '#ff2bd1',
            lemon: '#ffe600'
          },
          fontFamily: {
            serif: ['"EB Garamond"', 'serif'],
            sans: ['"Instrument Sans"', 'sans-serif'],
            mono: ['"JetBrains Mono"', 'monospace']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .caps { font-family: "Instrument Sans", sans-serif; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
    .under { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
    .under:hover { text-decoration-color: #ff2bd1; }
    .fringe { text-shadow: -.045em 0 0 rgba(0, 200, 255, .85), .045em 0 0 rgba(255, 43, 209, .75); }
    .ghost { position: absolute; font-family: "Instrument Sans", sans-serif; font-weight: 700; line-height: 1; color: transparent; text-shadow: -.14em .02em 0 rgba(0, 200, 255, .8), 0 0 0 rgba(255, 43, 209, .75), .14em -.02em 0 rgba(255, 230, 0, .9); filter: blur(var(--blur, 5px)); transform: skew(-32deg, -14deg) scaleY(.6); mix-blend-mode: multiply; user-select: none; pointer-events: none; animation: drift 9s ease-in-out infinite alternate; animation-delay: var(--delay, 0s); }
    @keyframes drift { to { translate: 16px -12px; } }
    .btn-ink { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-width: 11rem; padding: 1rem 1.3rem; border-radius: 2px; background: #161616; color: #fff; transition: box-shadow .2s ease; }
    .btn-ink:hover, .btn-ink:focus-visible { box-shadow: -5px 0 0 #00c8ff, 5px 0 0 #ff2bd1, 0 5px 0 #ffe600; }
    .plain { border: 0; border-bottom: 1px solid #161616; border-radius: 0; background-color: transparent; padding: .7rem 0; outline: none; }
    .plain:focus { box-shadow: 0 2px 0 #ff2bd1; }
    input[type="range"] { accent-color: #161616; }
    .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) { .ghost { animation: none; } html { scroll-behavior: auto; } }
  </style>
</head>
<body class="bg-white font-serif text-lg text-ink antialiased">
<!-- block:start hero -->
    <section id="top" class="relative overflow-hidden">
      <div class="mx-auto grid max-w-[1500px] items-center gap-6 px-6 pb-16 md:px-14 lg:min-h-[78vh] lg:grid-cols-12 lg:pb-24">
        <div class="relative h-72 sm:h-96 lg:col-span-7 lg:h-[34rem]" aria-hidden="true">
          <span class="ghost left-[6%] top-[8%] text-[7rem] lg:text-[11rem]" style="--blur: 6px">Rg</span>
          <span class="ghost left-[44%] top-[2%] text-[2.5rem]" style="--blur: 3px; --delay: -3s">fi</span>
          <span class="ghost left-[34%] top-[30%] text-[5rem] lg:text-[8rem]" style="--blur: 4px; --delay: -5s">&amp;</span>
          <span class="ghost left-[62%] top-[44%] text-[8rem] lg:text-[15rem]" style="--blur: 8px; --delay: -2s">Qu</span>
          <span class="ghost left-[16%] top-[66%] text-[5rem] lg:text-[6rem]" style="--blur: 5px; --delay: -6s">ae</span>
          <span class="ghost left-[4%] top-[50%] text-[2rem]" style="--blur: 3px; --delay: -1s">ß</span>
        </div>
        <div class="min-w-0 lg:col-span-4 lg:col-start-9">
          <h1 class="text-3xl leading-snug md:text-4xl">A font service that sends only the letters your page uses.</h1>
          <p class="mt-5 leading-relaxed text-mist">Glyphwell hosts your web fonts and trims every file to the text on the page. It works with any site that can load a stylesheet, and the <a href="pricing.html" class="under text-ink">first 25,000 views</a> each month are free.</p>
          <div class="mt-8 rounded-sm border border-rule px-4 py-3" data-install>
            <code class="block overflow-x-auto whitespace-nowrap font-mono text-sm" data-install-code>&lt;link rel="stylesheet" href="https://cdn.glyphwell.example/css?kit=a1b2"&gt;</code>
          </div>
          <div class="mt-5 flex flex-wrap items-center justify-end gap-x-8 gap-y-4">
            <label class="caps flex items-center gap-2">
              <span class="sr-only">How to install</span>
              <select data-install-kind class="caps cursor-pointer border-0 bg-transparent py-2 pl-0 pr-7 focus:ring-0">
                <option value="html">HTML link</option>
                <option value="css">CSS import</option>
                <option value="npm">npm package</option>
              </select>
            </label>
            <button type="button" data-install-copy aria-pressed="false" class="btn-ink caps"><span data-install-label>Copy snippet</span><i class="fa-regular fa-copy" aria-hidden="true"></i></button>
          </div>
          <script type="application/json" data-install-data>
            [
              { "kind": "html", "code": "<link rel=\"stylesheet\" href=\"https://cdn.glyphwell.example/css?kit=a1b2\">" },
              { "kind": "css", "code": "@import url(\"https://cdn.glyphwell.example/css?kit=a1b2\");" },
              { "kind": "npm", "code": "npm install @glyphwell/kit && npx glyphwell link a1b2" }
            ]
          </script>
        </div>
      </div>
      <p class="mx-auto flex max-w-[1500px] justify-end px-6 pb-10 md:px-14"><a href="features.html" class="under">How it works</a></p>
    </section>
    <!-- block:end hero -->
<script type="application/json" data-price-data>
          [
            { "views": "10,000", "amount": "$0", "plan": "Free", "note": "three families and one site" },
            { "views": "25,000", "amount": "$0", "plan": "Free", "note": "three families and one site" },
            { "views": "100,000", "amount": "$9", "plan": "Studio", "note": "every family in the library and unlimited sites" },
            { "views": "250,000", "amount": "$19", "plan": "Studio", "note": "every family in the library and unlimited sites" },
            { "views": "500,000", "amount": "$35", "plan": "Studio", "note": "every family in the library and unlimited sites" },
            { "views": "1,000,000", "amount": "$59", "plan": "Network", "note": "your own fonts, your own domain and a support line" },
            { "views": "5,000,000", "amount": "$149", "plan": "Network", "note": "your own fonts, your own domain and a support line" }
          ]
        </script>
<script>
    document.querySelectorAll("[data-menu-toggle]").forEach((button) => {
      const menu = document.getElementById(button.getAttribute("aria-controls"));
      if (!menu) return;
      button.addEventListener("click", () => {
        const open = button.getAttribute("aria-expanded") === "true";
        button.setAttribute("aria-expanded", String(!open));
        menu.classList.toggle("hidden", open);
      });
    });

    (() => {
      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));
    })();

    const copyText = (button, text, label) => {
      const target = label || button;
      const original = target.textContent;
      const done = () => {
        target.textContent = "Copied";
        button.setAttribute("aria-pressed", "true");
        setTimeout(() => { target.textContent = original; button.setAttribute("aria-pressed", "false"); }, 1600);
      };
      if (navigator.clipboard) navigator.clipboard.writeText(text).then(done, done); else done();
    };

    document.querySelectorAll("[data-install-kind]").forEach((select) => {
      const root = select.closest("section");
      const code = root.querySelector("[data-install-code]");
      const data = JSON.parse(root.querySelector("[data-install-data]").textContent);
      select.addEventListener("change", () => { code.textContent = data.find((entry) => entry.kind === select.value).code; });
      const button = root.querySelector("[data-install-copy]");
      button?.addEventListener("click", () => copyText(button, code.textContent, button.querySelector("[data-install-label]")));
    });

    document.querySelectorAll("[data-specimen]").forEach((root) => {
      const text = root.querySelector("[data-specimen-text]");
      const weight = root.querySelector("[data-specimen-weight]");
      const size = root.querySelector("[data-specimen-size]");
      const output = root.querySelector("[data-specimen-output]");
      const code = root.querySelector("[data-specimen-code]");
      const update = () => {
        const family = root.querySelector("[name=family]:checked");
        const words = text.value.trim() || "Aa";
        const glyphs = [...new Set(words.replace(/\s/g, ""))].sort();
        const kb = 2.4 + glyphs.length * 0.4;
        output.textContent = words;
        output.style.fontFamily = `'${family.value}', serif`;
        output.style.fontWeight = weight.value;
        output.style.fontSize = `clamp(2rem, 9vw, ${size.value}px)`;
        root.querySelector("[data-specimen-weight-label]").textContent = weight.value;
        root.querySelector("[data-specimen-size-label]").textContent = `${size.value} px`;
        root.querySelector("[data-specimen-glyphs]").textContent = glyphs.length;
        root.querySelector("[data-specimen-size-kb]").textContent = kb.toFixed(1);
        root.querySelector("[data-specimen-saving]").textContent = Math.round((1 - kb / Number(family.dataset.full)) * 100);
        code.textContent = `<link rel="stylesheet" href="https://cdn.glyphwell.example/css?family=${family.value.replace(/ /g, "+")}:wght@${weight.value}&text=${encodeURIComponent(glyphs.join(""))}">`;
      };
      root.addEventListener("input", update);
      const button = root.querySelector("[data-specimen-copy]");
      button?.addEventListener("click", () => copyText(button, code.textContent));
      update();
    });

    document.querySelectorAll("[data-price]").forEach((root) => {
      const input = root.querySelector("[data-price-input]");
      const data = JSON.parse(root.querySelector("[data-price-data]").textContent);
      const update = () => {
        const step = data[Number(input.value)];
        root.querySelector("[data-price-views]").textContent = step.views;
        root.querySelector("[data-price-amount]").textContent = step.amount;
        root.querySelector("[data-price-plan]").textContent = step.plan;
        root.querySelector("[data-price-note]").textContent = step.note;
      };
      input.addEventListener("input", update);
      update();
    });
  </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

Glyphwell screenshot

SaaS

Glyphwell

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