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

Ledgewell Demo

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

0 7
Ledgewell Demo preview

Descargar el código

Licencia comercial

Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access

ledgewell.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>Ledgewell Demo | Tailwind CSS UI Block</title>
  <meta name="description" content="A demo block extracted from the Ledgewell template, available in Tailwind CSS.">
  <meta name="keywords" content="Ledgewell, Tailwind CSS template, HTML website template, fintech template, investment management, asset manager, wealth management, fund website, portfolio builder, financial advisor website">
  <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="Ledgewell | Tailwind CSS Fintech Template">
  <meta property="og:description" content="A dark, research-led Tailwind CSS template for investment managers, with a portfolio builder, strategy factsheets, research notes and a fee calculator.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Ledgewell template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Ledgewell | Tailwind CSS Fintech Template">
  <meta name="twitter:description" content="A dark, research-led Tailwind CSS template for investment managers, with a portfolio builder, strategy factsheets, research notes and a fee calculator.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Ledgewell 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=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Outfit:wght@200;300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { night: { DEFAULT: '#0a0e16', panel: '#111725', line: '#263045' }, fog: '#8a94a8', bone: '#f3f1ec', brass: { DEFAULT: '#c9a86a', soft: '#e6d6b4', deep: '#9c7c42' } },
          fontFamily: { serif: ['"Cormorant Garamond"', 'serif'], sans: ['Outfit', 'sans-serif'] }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: 180ms ease-out both page-fade-out; }
    ::view-transition-new(root) { animation: 220ms ease-in both page-fade-in; }
    @keyframes page-fade-out { to { opacity: 0; } }
    @keyframes page-fade-in { from { opacity: 0; } }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .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; }
    .scroll-cue { animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
    @keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
    .chart-line { transition: stroke-dashoffset 1.4s ease-out; }
    .builder-chip:has(input:checked) { background: #c9a86a; border-color: #c9a86a; color: #0a0e16; }
    .builder-chip:has(input:focus-visible), .interest-chip:has(input:focus-visible) { outline: 2px solid #e6d6b4; outline-offset: 2px; }
    .interest-chip:has(input:checked) { background: #0a0e16; border-color: #0a0e16; color: #f3f1ec; }
    .donut-segment { transition: stroke-dasharray .5s ease, stroke-dashoffset .5s ease; }
    .rail { scrollbar-width: none; }
    .rail::-webkit-scrollbar { display: none; }
    input[type="range"] { accent-color: #c9a86a; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
      .scroll-cue { animation: none; }
      .chart-line, .donut-segment { transition: none; }
    }
  </style>
</head>
<body class="bg-night font-sans font-light text-bone antialiased">
<!-- block:start demo -->
  <section id="builder" class="relative isolate overflow-hidden py-24 md:py-32" data-builder>
    <svg class="pointer-events-none absolute inset-x-0 bottom-0 -z-10 h-2/3 w-full" viewBox="0 0 1600 600" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
        <polyline points="-200,700 800,120 1800,700" fill="none" stroke="#ffffff" stroke-opacity="0.06" stroke-width="18"/>
        <polyline points="-200,700 800,230 1800,700" fill="none" stroke="#ffffff" stroke-opacity="0.05" stroke-width="18"/>
        <polyline points="-200,700 800,340 1800,700" fill="none" stroke="#ffffff" stroke-opacity="0.04" stroke-width="18"/>
        <polyline points="-200,700 800,450 1800,700" fill="none" stroke="#ffffff" stroke-opacity="0.03" stroke-width="18"/>
        <polyline points="-200,700 800,560 1800,700" fill="none" stroke="#ffffff" stroke-opacity="0.02" stroke-width="18"/>
    </svg>
    <div class="mx-auto max-w-7xl px-5 md:px-10">
      <div class="max-w-2xl">
        <p class="text-[0.7rem] uppercase tracking-[0.4em] text-brass">Portfolio builder</p>
        <h2 class="mt-5 text-4xl font-extralight leading-tight md:text-6xl">See the portfolio before you meet us</h2>
        <p class="mt-6 leading-8 text-fog">Move the dial, pick a horizon and tell us what the money is for. The builder shows the mix our committee would start from and a range of outcomes, not a promise.</p>
      </div>
      <div class="mt-14 grid gap-8 lg:grid-cols-[1fr_1.2fr]">
        <form class="border border-night-line bg-night-panel/80 p-6 backdrop-blur md:p-8" data-builder-form>
          <fieldset>
            <legend class="text-[0.65rem] uppercase tracking-[0.35em] text-fog">Starting amount</legend>
            <div class="mt-3 flex items-center border border-night-line bg-night px-4">
              <span class="text-fog">$</span>
              <label for="builder-amount" class="sr-only">Starting amount in dollars</label>
              <input id="builder-amount" type="number" name="amount" min="50000" step="10000" value="250000" class="w-full bg-transparent px-3 py-3 text-lg text-bone outline-none">
            </div>
          </fieldset>
          <fieldset class="mt-8">
            <legend class="flex w-full items-center justify-between text-[0.65rem] uppercase tracking-[0.35em] text-fog">Appetite for risk <span class="font-serif text-2xl normal-case tracking-normal text-brass" data-builder-risk-label>4 of 7</span></legend>
            <label for="builder-risk" class="sr-only">Risk level from 1 to 7</label>
            <input id="builder-risk" type="range" name="risk" min="1" max="7" value="4" class="mt-4 w-full">
            <div class="mt-2 flex justify-between text-xs text-fog"><span>Steady</span><span>Adventurous</span></div>
          </fieldset>
          <fieldset class="mt-8">
            <legend class="text-[0.65rem] uppercase tracking-[0.35em] text-fog">Horizon</legend>
            <div class="mt-3 grid grid-cols-4 gap-2">
                <label class="builder-chip cursor-pointer border border-night-line px-2 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="horizon" value="3" class="sr-only" >
                  3 yrs
                </label>
                <label class="builder-chip cursor-pointer border border-night-line px-2 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="horizon" value="5" class="sr-only" >
                  5 yrs
                </label>
                <label class="builder-chip cursor-pointer border border-night-line px-2 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="horizon" value="10" class="sr-only" checked>
                  10 yrs
                </label>
                <label class="builder-chip cursor-pointer border border-night-line px-2 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="horizon" value="20" class="sr-only" >
                  20 yrs
                </label>
            </div>
          </fieldset>
          <fieldset class="mt-8">
            <legend class="text-[0.65rem] uppercase tracking-[0.35em] text-fog">The money is for</legend>
            <div class="mt-3 grid grid-cols-2 gap-2">
                <label class="builder-chip cursor-pointer border border-night-line px-3 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="goal" value="growth" class="sr-only" checked>
                  Growing it
                </label>
                <label class="builder-chip cursor-pointer border border-night-line px-3 py-3 text-center text-sm transition hover:border-brass">
                  <input type="radio" name="goal" value="income" class="sr-only" >
                  Drawing an income
                </label>
            </div>
          </fieldset>
        </form>
        <div class="grid gap-8 border border-night-line bg-night/80 p-6 backdrop-blur md:grid-cols-[13rem_1fr] md:p-8" aria-live="polite">
          <div>
            <svg class="mx-auto h-52 w-52 -rotate-90" viewBox="0 0 42 42" role="img" aria-label="Suggested asset allocation">
              <circle cx="21" cy="21" r="15.915" fill="none" stroke="#111725" stroke-width="6"/>
                <circle class="donut-segment" cx="21" cy="21" r="15.915" fill="none" stroke="#c9a86a" stroke-width="6" stroke-dasharray="52 48" stroke-dashoffset="0" data-builder-segment="Equities"/>
                <circle class="donut-segment" cx="21" cy="21" r="15.915" fill="none" stroke="#e6d6b4" stroke-width="6" stroke-dasharray="30 70" stroke-dashoffset="-52" data-builder-segment="Bonds"/>
                <circle class="donut-segment" cx="21" cy="21" r="15.915" fill="none" stroke="#8a94a8" stroke-width="6" stroke-dasharray="9 91" stroke-dashoffset="-82" data-builder-segment="Real assets"/>
                <circle class="donut-segment" cx="21" cy="21" r="15.915" fill="none" stroke="#4b5874" stroke-width="6" stroke-dasharray="6 94" stroke-dashoffset="-91" data-builder-segment="Alternatives"/>
                <circle class="donut-segment" cx="21" cy="21" r="15.915" fill="none" stroke="#263045" stroke-width="6" stroke-dasharray="3 97" stroke-dashoffset="-97" data-builder-segment="Cash"/>
            </svg>
            <ul class="mt-6 grid gap-2 text-sm">
                <li class="flex items-center gap-3"><span class="h-2.5 w-2.5" style="background: #c9a86a"></span>Equities<span class="ml-auto font-serif text-lg text-bone" data-builder-value="Equities">52%</span></li>
                <li class="flex items-center gap-3"><span class="h-2.5 w-2.5" style="background: #e6d6b4"></span>Bonds<span class="ml-auto font-serif text-lg text-bone" data-builder-value="Bonds">30%</span></li>
                <li class="flex items-center gap-3"><span class="h-2.5 w-2.5" style="background: #8a94a8"></span>Real assets<span class="ml-auto font-serif text-lg text-bone" data-builder-value="Real assets">9%</span></li>
                <li class="flex items-center gap-3"><span class="h-2.5 w-2.5" style="background: #4b5874"></span>Alternatives<span class="ml-auto font-serif text-lg text-bone" data-builder-value="Alternatives">6%</span></li>
                <li class="flex items-center gap-3"><span class="h-2.5 w-2.5" style="background: #263045"></span>Cash<span class="ml-auto font-serif text-lg text-bone" data-builder-value="Cash">3%</span></li>
            </ul>
          </div>
          <div class="flex flex-col">
            <p class="text-[0.65rem] uppercase tracking-[0.35em] text-fog">Suggested starting point</p>
            <h3 class="mt-3 font-serif text-4xl text-brass" data-builder-strategy>Balanced Growth</h3>
            <p class="mt-3 text-sm leading-7 text-fog" data-builder-note>A global mix that leans on quality companies and keeps a third in bonds and real assets to soften the bad years.</p>
            <svg class="mt-6 w-full" viewBox="0 0 300 140" role="img" aria-label="Range of projected outcomes over the chosen horizon">
              <polygon points="0,110 300,30 300,95 0,110" fill="#c9a86a" fill-opacity=".14" data-builder-fan/>
              <polyline points="0,110 300,62" fill="none" stroke="#c9a86a" stroke-width="2" data-builder-central/>
              <line x1="0" x2="300" y1="110" y2="110" stroke="#263045"/>
            </svg>
            <dl class="mt-4 grid grid-cols-3 gap-3 border-t border-night-line pt-4">
              <div><dt class="text-[0.6rem] uppercase tracking-[0.3em] text-fog">Cautious</dt><dd class="mt-1 font-serif text-xl" data-builder-low>$402k</dd></div>
              <div><dt class="text-[0.6rem] uppercase tracking-[0.3em] text-fog">Central</dt><dd class="mt-1 font-serif text-xl text-brass" data-builder-mid>$505k</dd></div>
              <div><dt class="text-[0.6rem] uppercase tracking-[0.3em] text-fog">Strong</dt><dd class="mt-1 font-serif text-xl" data-builder-high>$630k</dd></div>
            </dl>
            <p class="mt-4 text-xs leading-6 text-fog">Illustrative only, after fees, assuming <span data-builder-return>5.7%</span> a year with <span data-builder-vol>11.8%</span> volatility. Your capital is at risk.</p>
            <a href="contact.html" class="mt-6 inline-flex items-center gap-3 self-start bg-brass px-6 py-3 text-sm font-medium text-night transition hover:bg-brass-soft">Talk this through with an adviser <i class="fa-solid fa-arrow-right text-xs" aria-hidden="true"></i></a>
          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- block:end demo -->
<script>
    (() => {
      const menu = document.getElementById('site-menu');
      const toggles = document.querySelectorAll('[data-menu-toggle]');
      if (!menu) return;
      const setOpen = (open) => {
        menu.classList.toggle('hidden', !open);
        document.documentElement.classList.toggle('overflow-hidden', open);
        toggles.forEach((button) => button.setAttribute('aria-expanded', String(open)));
        if (open) menu.querySelector('a, button')?.focus();
      };
      toggles.forEach((button) => button.addEventListener('click', () => setOpen(button.getAttribute('aria-expanded') !== 'true')));
      menu.querySelectorAll('[data-menu-close], a[href^="#"], a[href*=".html#"]').forEach((item) => item.addEventListener('click', () => setOpen(false)));
      document.addEventListener('keydown', (event) => { if (event.key === 'Escape' && !menu.classList.contains('hidden')) { setOpen(false); toggles[0]?.focus(); } });
    })();

    (() => {
      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 charts = document.querySelectorAll('[data-chart]');
      if (!charts.length || navigator.webdriver || !('IntersectionObserver' in window) || matchMedia('(prefers-reduced-motion: reduce)').matches) return;
      const observer = new IntersectionObserver((entries) => {
        entries.forEach(({ isIntersecting, target }) => {
          if (!isIntersecting) return;
          observer.unobserve(target);
          target.querySelectorAll('[data-chart-line]').forEach((line) => { line.style.strokeDashoffset = '0'; });
        });
      }, { threshold: 0.3 });
      charts.forEach((chart) => {
        chart.querySelectorAll('[data-chart-line]').forEach((line) => {
          const length = line.getTotalLength();
          line.style.transition = 'none';
          line.style.strokeDasharray = length;
          line.style.strokeDashoffset = length;
          line.getBoundingClientRect();
          line.style.transition = '';
        });
        observer.observe(chart);
      });
    })();

    document.querySelectorAll('[data-builder]').forEach((root) => {
      const form = root.querySelector('[data-builder-form]');
      const mixes = {
        1: [20, 55, 8, 7, 10], 2: [30, 48, 8, 7, 7], 3: [40, 40, 9, 6, 5], 4: [52, 30, 9, 6, 3],
        5: [62, 22, 9, 5, 2], 6: [72, 14, 8, 4, 2], 7: [82, 6, 7, 4, 1]
      };
      const labels = ['Equities', 'Bonds', 'Real assets', 'Alternatives', 'Cash'];
      const plans = [
        [2, 'Capital Preservation', 'Short-dated, high-grade bonds and cash, built for money you may need within a few years.'],
        [3, 'Steady Income', 'Bonds and dependable dividend payers, aiming for a regular income with modest swings.'],
        [5, 'Balanced Growth', 'A global mix that leans on quality companies and keeps a third in bonds and real assets to soften the bad years.'],
        [6, 'Global Quality', 'Mostly durable, cash-generative companies, with a slim bond buffer for patient owners.'],
        [7, 'Long Horizon', 'A concentrated, growth-heavy portfolio for money that will not be touched for a decade or more.']
      ];
      const money = (value) => value >= 1e6 ? `$${(value / 1e6).toFixed(2)}m` : `$${Math.round(value / 1000)}k`;
      const update = () => {
        const risk = Number(form.risk.value);
        const horizon = Number(form.querySelector('[name="horizon"]:checked')?.value || 10);
        const goal = form.querySelector('[name="goal"]:checked')?.value || 'growth';
        const amount = Math.max(Number(form.amount.value) || 0, 0);
        const mix = [...mixes[risk]];
        if (goal === 'income') { const shift = Math.min(8, mix[0] - 10); mix[0] -= shift; mix[1] += shift; }
        let offset = 0;
        labels.forEach((label, index) => {
          const segment = root.querySelector(`[data-builder-segment="${label}"]`);
          segment.setAttribute('stroke-dasharray', `${mix[index]} ${100 - mix[index]}`);
          segment.setAttribute('stroke-dashoffset', String(-offset));
          offset += mix[index];
          root.querySelector(`[data-builder-value="${label}"]`).textContent = `${mix[index]}%`;
        });
        const rate = (1.6 + mix[0] * 0.07 + mix[1] * 0.03) / 100;
        const vol = (2 + mix[0] * 0.19) / 100;
        const mid = amount * (1 + rate) ** horizon;
        const low = amount * Math.max(1 + rate - vol * 0.55, 0.9) ** horizon;
        const high = amount * (1 + rate + vol * 0.45) ** horizon;
        const y = (value) => Math.max(8, 110 - ((value - amount) / Math.max(high - amount, 1)) * 80);
        root.querySelector('[data-builder-fan]').setAttribute('points', `0,110 300,${y(high).toFixed(1)} 300,${y(low).toFixed(1)}`);
        root.querySelector('[data-builder-central]').setAttribute('points', `0,110 300,${y(mid).toFixed(1)}`);
        root.querySelector('[data-builder-low]').textContent = money(low);
        root.querySelector('[data-builder-mid]').textContent = money(mid);
        root.querySelector('[data-builder-high]').textContent = money(high);
        root.querySelector('[data-builder-return]').textContent = `${(rate * 100).toFixed(1)}%`;
        root.querySelector('[data-builder-vol]').textContent = `${(vol * 100).toFixed(1)}%`;
        root.querySelector('[data-builder-risk-label]').textContent = `${risk} of 7`;
        const effective = goal === 'income' ? Math.min(risk, 4) : risk;
        const plan = plans.find(([max]) => effective <= max) || plans[plans.length - 1];
        root.querySelector('[data-builder-strategy]').textContent = plan[1];
        root.querySelector('[data-builder-note]').textContent = plan[2];
      };
      form.addEventListener('input', update);
      form.addEventListener('change', update);
      form.addEventListener('submit', (event) => event.preventDefault());
      update();
    });

    document.querySelectorAll('[data-rail-root]').forEach((root) => {
      const rail = root.querySelector('[data-rail]');
      const step = () => (rail.querySelector('article')?.offsetWidth || 320) + 24;
      root.querySelector('[data-rail-prev]')?.addEventListener('click', () => rail.scrollBy({ left: -step(), behavior: 'smooth' }));
      root.querySelector('[data-rail-next]')?.addEventListener('click', () => rail.scrollBy({ left: step(), behavior: 'smooth' }));
    });

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

    document.querySelectorAll('[data-letter-form]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const topics = [...form.querySelectorAll('[name="interests"]:checked')].map((input) => input.parentElement.textContent.trim());
        form.querySelector('[data-letter-status]').textContent = `Thank you. Your first letter arrives next month${topics.length ? `, covering ${topics.join(', ').toLowerCase()}` : ''}.`;
        form.reset();
      });
    });
  </script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<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

Ledgewell screenshot Premium

Finanzas y fintech

Ledgewell

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