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

Pearlwick Hero

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

0 1
Pearlwick Hero preview
pearlwick.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>Pearlwick Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Pearlwick template, available in Tailwind CSS.">
  <meta name="keywords" content="Pearlwick, Tailwind CSS template, HTML website template, dentist template, dental clinic website, dental practice template, treatments and fees page, appointment request form, health template">
  <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="Pearlwick | Tailwind CSS Health &amp; Fitness Template">
  <meta property="og:description" content="A calm Tailwind CSS template for dentists and dental clinics, with a serif headline across a white and grey split, treatment tabs, a comfort card, reviews, fees and a booking request form.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Pearlwick template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Pearlwick | Tailwind CSS Health &amp; Fitness Template">
  <meta name="twitter:description" content="A calm Tailwind CSS template for dentists and dental clinics, with a serif headline across a white and grey split, treatment tabs, a comfort card, reviews, fees and a booking request form.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Pearlwick 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=Frank+Ruhl+Libre:wght@300;400;500&family=Mulish:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: { DEFAULT: '#4b4744', soft: '#66615c', deep: '#2e2b29' },
            panel: { DEFAULT: '#ecebe9', deep: '#dddbd8' },
            copper: { DEFAULT: '#b07a55', deep: '#8a5a3a' },
            line: '#d9d6d2'
          },
          fontFamily: {
            sans: ['Mulish', 'sans-serif'],
            serif: ['"Frank Ruhl Libre"', 'serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .wordmark { font-family: 'Mulish', sans-serif; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: #8a5a3a; }
    .label { font-family: 'Frank Ruhl Libre', serif; font-style: italic; font-weight: 300; color: #8a5a3a; }
    .label-lines { display: inline-block; padding-bottom: .55rem; background: linear-gradient(#b07a55, #b07a55) left bottom / 2.25rem 1px no-repeat, linear-gradient(#b07a55, #b07a55) left calc(100% - 5px) / 1.4rem 1px no-repeat; }
    .rule { display: block; width: 1px; background: #b07a55; }
    .dot { display: block; width: .6rem; height: .6rem; border-radius: 9999px; background: #b07a55; }
    .upright { writing-mode: vertical-rl; transform: rotate(180deg); }
    .lead-link { display: inline-flex; align-items: center; gap: .9rem; font-weight: 600; color: #2e2b29; }
    .lead-link::before { content: ""; width: 2.5rem; height: 1px; background: #b07a55; transition: width .3s ease; }
    .lead-link:hover::before { width: 3.75rem; }
    .field { width: 100%; border: 0; border-bottom: 1px solid #b9b5b0; background: transparent; padding: .7rem 0; color: #2e2b29; outline: none; border-radius: 0; }
    .field:focus { border-bottom-color: #8a5a3a; box-shadow: 0 1px 0 #8a5a3a; }
    [data-tabs] [role="tab"][aria-selected="true"] { color: #2e2b29; }
    [data-tabs] [role="tab"][aria-selected="true"] .tab-rule { width: 3rem; opacity: 1; }
    .tab-rule { display: inline-block; width: 0; height: 1px; background: #b07a55; opacity: 0; transition: width .3s ease, opacity .3s ease; vertical-align: middle; }
    [data-comfort-chip][aria-pressed="true"] { background: #2e2b29; border-color: #2e2b29; color: #fff; }
    [data-hours] .is-today { color: #2e2b29; font-weight: 700; }
    .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) { .lead-link::before, .tab-rule { transition: none; } }
  </style>
</head>
<body class="bg-white font-sans text-ink-soft antialiased">
<!-- block:start hero -->
    <section id="top" class="relative overflow-hidden lg:min-h-[100svh]">
      <div class="absolute inset-y-0 left-[36%] right-0 hidden bg-panel lg:block" aria-hidden="true"></div>
      <div class="relative mx-auto grid max-w-[1440px] gap-10 px-6 pt-28 md:px-12 lg:min-h-[100svh] lg:grid-cols-12 lg:gap-0 lg:pt-0">
        <div class="relative z-10 flex flex-col justify-center lg:col-span-8 lg:py-40 lg:pl-[14%]">
          <p class="max-w-sm text-lg leading-relaxed lg:ml-[18%]" data-reveal>Gentle, unhurried dentistry for the whole family. We explain everything first, and you decide the pace.</p>
          <h1 class="mt-8 font-serif text-5xl font-normal leading-[1.05] tracking-tight text-ink sm:text-6xl lg:text-[5.6rem]" data-reveal style="--reveal-delay: 100ms">Care you can see<br>and feel</h1>
          <div class="mt-10 flex flex-wrap items-center gap-x-10 gap-y-5 lg:ml-[18%]" data-reveal style="--reveal-delay: 200ms">
            <a href="contact.html" class="lead-link text-lg">Book a visit</a>
            <a href="tel:+441225555027" class="text-lg font-semibold text-copper-deep hover:text-ink-deep">01225 555 027</a>
          </div>
        </div>
        <div class="relative -mx-6 bg-panel px-6 pb-0 pt-10 md:-mx-12 md:px-12 lg:col-span-4 lg:mx-0 lg:bg-transparent lg:px-0 lg:pt-0">
          <span class="dot absolute left-6 top-6 lg:-left-16 lg:top-[38%]" aria-hidden="true"></span>
          <span class="rule absolute right-10 top-10 hidden h-16 lg:block" aria-hidden="true"></span>
          <img src="https://images.unsplash.com/photo-1728342057953-94bfad8f0e7e?auto=format&amp;fit=crop&amp;w=1100&amp;q=80" alt="A white treatment chair in a bright room beside a tall window" class="aspect-[4/5] w-full object-cover lg:absolute lg:inset-y-0 lg:right-[-3rem] lg:aspect-auto lg:h-full lg:w-[calc(100%+3rem)] lg:max-w-none">
        </div>
      </div>
      <div class="pointer-events-none absolute bottom-10 left-12 hidden items-end gap-5 lg:flex" aria-hidden="true">
        <span class="label upright text-lg text-ink-soft">New patients welcome</span>
        <span class="rule h-12"></span>
        <span class="label upright text-lg text-ink-soft">Since 2009</span>
      </div>
    </section>
    <!-- block:end hero -->
<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));
    })();

    document.querySelectorAll("[data-tabs]").forEach((root) => {
      const tabs = [...root.querySelectorAll('[role="tab"]')];
      const select = (tab) => {
        tabs.forEach((item) => {
          const active = item === tab;
          item.setAttribute("aria-selected", String(active));
          item.tabIndex = active ? 0 : -1;
          const panel = document.getElementById(item.getAttribute("aria-controls"));
          if (panel) panel.hidden = !active;
        });
      };
      tabs.forEach((tab, index) => {
        tab.tabIndex = tab.getAttribute("aria-selected") === "true" ? 0 : -1;
        tab.addEventListener("click", () => select(tab));
        tab.addEventListener("keydown", (event) => {
          const step = { ArrowDown: 1, ArrowRight: 1, ArrowUp: -1, ArrowLeft: -1 }[event.key];
          if (!step) return;
          event.preventDefault();
          const next = tabs[(index + step + tabs.length) % tabs.length];
          select(next);
          next.focus();
        });
      });
    });

    document.querySelectorAll("[data-comfort]").forEach((root) => {
      const chips = [...root.querySelectorAll("[data-comfort-chip]")];
      const link = root.querySelector("[data-comfort-link]");
      const update = () => {
        let minutes = 0;
        const chosen = [];
        chips.forEach((chip) => {
          const on = chip.getAttribute("aria-pressed") === "true";
          const line = root.querySelector(`[data-comfort-line="${chip.dataset.comfortChip}"]`);
          if (!line) return;
          line.hidden = !on;
          if (on) { minutes += Number(line.dataset.minutes || 0); chosen.push(chip.textContent.trim()); }
        });
        root.querySelector("[data-comfort-empty]").hidden = chosen.length > 0;
        root.querySelector("[data-comfort-minutes]").textContent = minutes;
        if (link) link.href = link.getAttribute("href").split("?")[0] + (chosen.length ? `?comfort=${encodeURIComponent(chosen.join(", "))}` : "");
      };
      chips.forEach((chip) => chip.addEventListener("click", () => {
        chip.setAttribute("aria-pressed", String(chip.getAttribute("aria-pressed") !== "true"));
        update();
      }));
      update();
    });

    document.querySelectorAll("[data-hours]").forEach((list) => {
      const row = list.querySelector(`[data-day="${new Date().getDay()}"]`);
      if (row) row.classList.add("is-today");
    });

    document.querySelectorAll("[data-enquiry]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        if (!form.reportValidity()) return;
        form.querySelector("[data-enquiry-done]").hidden = false;
      });
    });
  </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

Pearlwick screenshot

Health & Fitness

Pearlwick

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