Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Demo

Farthing Demo

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

0 8
Farthing Demo 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 Demo | Tailwind CSS UI Block</title>
  <meta name="description" content="A demo 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 demo -->
    <section id="split" class="mx-auto max-w-[1500px] px-6 py-24 md:px-12 md:py-36" data-splitter>
      <div class="grid items-center gap-16 lg:grid-cols-12">
        <div class="lg:col-span-6">
          <p class="neon-text inline-block font-extrabold uppercase tracking-widest">Try it</p>
          <h2 class="mt-5 text-4xl font-extrabold leading-[1.08] md:text-6xl">Split tonight's takings.</h2>
          <p class="mt-6 max-w-md text-lg leading-relaxed text-white/80">Each square is one percent of what came in. Move the slider and watch where it goes before you have cashed up.</p>

          <div class="mt-12">
            <label for="takings" class="flex items-baseline justify-between"><span class="font-semibold text-fog">Card takings tonight</span><span class="text-4xl font-extrabold" data-takings-label>€1,800</span></label>
            <input id="takings" type="range" min="200" max="6000" step="100" value="1800" class="mt-4 w-full" data-takings>
          </div>

          <fieldset class="mt-10">
            <legend class="font-semibold text-fog">Set aside for tax</legend>
            <div class="mt-4 flex flex-wrap gap-2">
                <button type="button" data-tax="10" aria-pressed="false" class="rounded-full border border-white/30 px-5 py-2.5 font-semibold transition hover:border-white aria-pressed:border-white aria-pressed:bg-white aria-pressed:text-ink">10%</button>
                <button type="button" data-tax="15" aria-pressed="false" class="rounded-full border border-white/30 px-5 py-2.5 font-semibold transition hover:border-white aria-pressed:border-white aria-pressed:bg-white aria-pressed:text-ink">15%</button>
                <button type="button" data-tax="21" aria-pressed="true" class="rounded-full border border-white/30 px-5 py-2.5 font-semibold transition hover:border-white aria-pressed:border-white aria-pressed:bg-white aria-pressed:text-ink">21%</button>
                <button type="button" data-tax="25" aria-pressed="false" class="rounded-full border border-white/30 px-5 py-2.5 font-semibold transition hover:border-white aria-pressed:border-white aria-pressed:bg-white aria-pressed:text-ink">25%</button>
            </div>
          </fieldset>

          <label class="mt-8 flex cursor-pointer items-center gap-4">
            <input type="checkbox" class="h-5 w-5 accent-violet" data-tips checked>
            <span class="font-semibold">Keep 5% in a tips pot for the team</span>
          </label>
        </div>

        <div class="lg:col-span-5 lg:col-start-8">
          <div class="rounded-[2rem] border-[10px] border-ink-soft bg-black p-5 shadow-[0_0_80px_rgba(255,90,31,.25)]">
            <div class="grid grid-cols-10 gap-1.5" aria-hidden="true" data-cells>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="yours"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tax"></span>
                <span class="cell" data-kind="tips"></span>
                <span class="cell" data-kind="tips"></span>
                <span class="cell" data-kind="tips"></span>
                <span class="cell" data-kind="tips"></span>
                <span class="cell" data-kind="tips"></span>
                <span class="cell" data-kind="fee"></span>
            </div>
          </div>
          <dl class="mt-8 grid grid-cols-2 gap-x-6 gap-y-5" aria-live="polite">
              <div class="border-t border-ink-line pt-4" data-row="yours">
                <dt class="flex items-center gap-3 text-sm text-fog"><span class="h-3 w-3 bg-amber"></span>Yours by closing time</dt>
                <dd class="mt-1 text-3xl font-extrabold" data-amount="yours">€1,314</dd>
              </div>
              <div class="border-t border-ink-line pt-4" data-row="tax">
                <dt class="flex items-center gap-3 text-sm text-fog"><span class="h-3 w-3 bg-pink"></span>Locked in the tax pot</dt>
                <dd class="mt-1 text-3xl font-extrabold" data-amount="tax">€378</dd>
              </div>
              <div class="border-t border-ink-line pt-4" data-row="tips">
                <dt class="flex items-center gap-3 text-sm text-fog"><span class="h-3 w-3 bg-violet"></span>Tips pot</dt>
                <dd class="mt-1 text-3xl font-extrabold" data-amount="tips">€90</dd>
              </div>
              <div class="border-t border-ink-line pt-4" data-row="fee">
                <dt class="flex items-center gap-3 text-sm text-fog"><span class="h-3 w-3 bg-cyan"></span>Our fee, 1%</dt>
                <dd class="mt-1 text-3xl font-extrabold" data-amount="fee">€18</dd>
              </div>
          </dl>
        </div>
      </div>
    </section>
    <!-- block:end demo -->
<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>

De esta plantilla

Farthing screenshot

Finanzas y fintech

Farthing

Acceso ilimitado a todos los productos

Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.

20 € / 3 meses o 60 € / año
Conseguir acceso ilimitado