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

Farthing Hero

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

0 8
Farthing Hero preview
farthing.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>Farthing Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Farthing template, available in Tailwind CSS.">
  <meta name="keywords" content="Farthing, Tailwind CSS template, HTML website template, fintech template, business account website, payments landing page, neobank template, dark template, pricing page, free 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="Farthing | Tailwind CSS Fintech Template">
  <meta property="og:description" content="A dark Tailwind CSS fintech template with edge-to-edge neon photos, heavy headlines, a takings splitter and features, pricing and contact pages.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Farthing template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Farthing | Tailwind CSS Fintech Template">
  <meta name="twitter:description" content="A dark Tailwind CSS fintech template with edge-to-edge neon photos, heavy headlines, a takings splitter and features, pricing and contact pages.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Farthing 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=Montserrat:wght@400;500;600;800&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: { DEFAULT: '#0e0e10', soft: '#19191d', line: '#2c2c33' },
            navy: '#0c2152',
            fog: '#a9a9b4',
            amber: '#ffb21a',
            flame: '#ff5a1f',
            pink: '#ff2d78',
            violet: '#7a3cff',
            cyan: '#1fd6e6'
          },
          fontFamily: {
            sans: ['Montserrat', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .neon { background: linear-gradient(180deg, #ff2d78 0%, #ff5a1f 45%, #ffb21a 100%); }
    .neon-text { background: linear-gradient(90deg, #ffb21a, #ff5a1f 45%, #ff2d78); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .cell { aspect-ratio: 1; background: #232329; transition: background-color .3s ease, box-shadow .3s ease; }
    .cell[data-kind="yours"] { background: #ffb21a; box-shadow: 0 0 12px rgba(255, 178, 26, .45); }
    .cell[data-kind="tax"] { background: #ff2d78; box-shadow: 0 0 12px rgba(255, 45, 120, .45); }
    .cell[data-kind="tips"] { background: #7a3cff; box-shadow: 0 0 12px rgba(122, 60, 255, .45); }
    .cell[data-kind="fee"] { background: #1fd6e6; box-shadow: 0 0 12px rgba(31, 214, 230, .45); }
    input[type=range] { accent-color: #ff5a1f; }
    .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) { .cell { transition: none; } }
  </style>
</head>
<body class="bg-ink font-sans text-white antialiased">
<!-- block:start hero -->
    <section id="top" class="relative overflow-hidden">
      <div class="absolute right-0 top-0 hidden h-9 w-[46%] bg-cover bg-center lg:block" style="background-image: url('https://images.unsplash.com/photo-1503899036084-c55cdd92da26?auto=format&amp;fit=crop&amp;w=1400&amp;q=80')" aria-hidden="true"></div>
      <div class="absolute bottom-0 right-0 hidden h-9 w-[46%] bg-cover bg-top lg:block" style="background-image: url('https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&amp;fit=crop&amp;w=1400&amp;q=80')" aria-hidden="true"></div>
      <div class="grid items-center lg:min-h-[52rem] lg:grid-cols-2">
        <img src="https://images.unsplash.com/photo-1508009603885-50cf7c579365?auto=format&amp;fit=crop&amp;w=1400&amp;q=80" alt="A wet street at night lit by red and yellow neon signs, with two tuk-tuks parked outside a shop" class="aspect-[4/3] w-full object-cover lg:my-28 lg:aspect-[5/4]">
        <div class="px-6 py-16 md:px-12 lg:py-24 lg:pl-24 xl:pl-36">
          <h1 class="text-5xl font-extrabold leading-[1.05] md:text-7xl">Paid before<br>you lock up</h1>
          <p class="mt-8 max-w-md text-2xl font-semibold leading-snug md:text-3xl">The business account for places that stay open late.</p>
          <p class="mt-3 max-w-md text-lg leading-relaxed text-white/80">Card takings land in minutes, not on Tuesday. Tax is set aside as you earn, so the money you see is the money you have.</p>
          <div class="mt-10 flex flex-wrap items-center gap-6">
            <a href="pricing.html" class="rounded-full bg-white px-7 py-4 font-semibold text-ink hover:bg-amber">Open an account</a>
            <a href="#split" class="flex items-center gap-3 font-semibold hover:text-amber">Split tonight's takings <i class="fa-solid fa-arrow-down"></i></a>
          </div>
        </div>
      </div>
    </section>
    <!-- block:end hero -->
<script>
    // Mobile menu
    (() => {
      const toggle = document.querySelector("[data-menu-toggle]");
      const menu = document.getElementById("mobile-menu");
      if (!toggle || !menu) return;
      toggle.addEventListener("click", () => {
        const open = toggle.getAttribute("aria-expanded") === "true";
        toggle.setAttribute("aria-expanded", String(!open));
        toggle.setAttribute("aria-label", open ? "Open menu" : "Close menu");
        menu.hidden = open;
      });
    })();

    // Takings splitter: each cell is one percent
    document.querySelectorAll("[data-splitter]").forEach((root) => {
      const takings = root.querySelector("[data-takings]");
      const tips = root.querySelector("[data-tips]");
      const rates = [...root.querySelectorAll("[data-tax]")];
      const cells = [...root.querySelectorAll("[data-cells] .cell")];
      const euro = (value) => "€" + Math.round(value).toLocaleString("en-US");
      const update = () => {
        const total = Number(takings.value);
        const tax = Number(rates.find((button) => button.getAttribute("aria-pressed") === "true").dataset.tax);
        const share = { fee: 1, tips: tips.checked ? 5 : 0, tax };
        share.yours = 100 - share.fee - share.tips - share.tax;
        cells.forEach((cell, index) => {
          cell.dataset.kind = index < share.yours ? "yours" : index < share.yours + share.tax ? "tax" : index < share.yours + share.tax + share.tips ? "tips" : "fee";
        });
        root.querySelector("[data-takings-label]").textContent = euro(total);
        Object.entries(share).forEach(([kind, percent]) => { root.querySelector(`[data-amount="${kind}"]`).textContent = euro(total * percent / 100); });
        root.querySelector('[data-row="tips"]').classList.toggle("opacity-40", !tips.checked);
      };
      rates.forEach((button) => button.addEventListener("click", () => {
        rates.forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
        update();
      }));
      takings.addEventListener("input", update);
      tips.addEventListener("change", update);
      update();
    });

    // Like buttons
    document.querySelectorAll("[data-like]").forEach((button) => {
      button.addEventListener("click", () => {
        const liked = button.getAttribute("aria-pressed") !== "true";
        button.setAttribute("aria-pressed", String(liked));
        button.querySelector("[data-like-count]").textContent = Number(button.dataset.likes) + (liked ? 1 : 0);
      });
    });

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

Farthing screenshot

Finance & Fintech

Farthing

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