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

Solstra Demo

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

0 7
Solstra Demo preview
solstra.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>Solstra Demo | Tailwind CSS UI Block</title>
  <meta name="description" content="A demo block extracted from the Solstra template, available in Tailwind CSS.">
  <meta name="keywords" content="Solstra, Tailwind CSS template, HTML website template, SaaS template, software landing page, startup template, dark template, geometric design, 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="Solstra | Tailwind CSS SaaS Template">
  <meta property="og:description" content="A dark, geometric Tailwind CSS SaaS template with a light serif headline, a brief composer demo, integrations, and features, pricing and contact pages.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Solstra template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Solstra | Tailwind CSS SaaS Template">
  <meta name="twitter:description" content="A dark, geometric Tailwind CSS SaaS template with a light serif headline, a brief composer demo, integrations, and features, pricing and contact pages.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Solstra 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,300;0,400;0,500;1,300&family=Jost:wght@300;400;500&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            coal: { DEFAULT: '#1b1b1b', soft: '#242424', line: '#343434' },
            pitch: '#000000',
            bone: { DEFAULT: '#ece8df', dim: '#9a968d' },
            sun: { DEFAULT: '#d42027', deep: '#8f1318' },
            leaf: { DEFAULT: '#86b92c', deep: '#0f8a5f' }
          },
          fontFamily: {
            serif: ['"Cormorant Garamond"', 'serif'],
            sans: ['Jost', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; }
    .disc { border-radius: 9999px; background: linear-gradient(180deg, #e0262d 0%, #8f1318 100%); }
    .beam { background: linear-gradient(160deg, #86b92c 0%, #0f8a5f 100%); }
    .plane-a { clip-path: polygon(64% 0, 0 0, 0 24%, 31% 60%); }
    .beam-a { clip-path: polygon(31% 50%, 31% 60.5%, 60% 100%, 57% 96%); }
    .plane-b { clip-path: polygon(92% 0, 66% 0, 80% 58%); }
    .beam-b { clip-path: polygon(80% 58%, 60% 100%, 70% 100%); }
    input[type=range] { accent-color: #d42027; }
    [data-story-link][aria-current] { color: #ece8df; }
    [data-story-link][aria-current] .story-rule { width: 3rem; background: #d42027; }
    .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 (max-width: 767px) {
      .plane-a { clip-path: polygon(80% 0, 0 0, 0 19%, 38% 31%); }
      .beam-a { clip-path: polygon(38% 25%, 38% 31%, 92% 39%, 88% 37.5%); }
    }
  </style>
</head>
<body class="bg-coal font-sans font-light text-bone antialiased">
<!-- block:start demo -->
    <section id="composer" class="bg-pitch">
      <div class="mx-auto grid max-w-[1500px] gap-14 px-6 py-24 md:px-14 md:py-32 lg:grid-cols-12">
        <div class="lg:col-span-5">
          <p class="label text-bone/50">Try it</p>
          <h2 class="mt-6 font-serif text-4xl font-light leading-tight md:text-6xl">Compose tomorrow's brief.</h2>
          <p class="mt-6 max-w-md text-lg leading-relaxed text-bone/70">Pick what Solstra should read and when the brief should land. The page on the right is what you would open.</p>

          <fieldset class="mt-12">
            <legend class="label text-bone/50">Sources</legend>
            <div class="mt-4 flex flex-wrap gap-2">
                <button type="button" data-source="calendar" aria-pressed="true" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Calendar</button>
                <button type="button" data-source="code" aria-pressed="true" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Pull requests</button>
                <button type="button" data-source="incidents" aria-pressed="true" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Incidents</button>
                <button type="button" data-source="pipeline" aria-pressed="false" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Pipeline</button>
                <button type="button" data-source="support" aria-pressed="false" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Support</button>
                <button type="button" data-source="weather" aria-pressed="false" class="rounded-full border border-bone/30 px-5 py-2.5 text-sm transition hover:border-bone aria-pressed:border-bone aria-pressed:bg-bone aria-pressed:text-coal">Weather</button>
            </div>
          </fieldset>

          <div class="mt-10">
            <label for="brief-time" class="flex items-baseline justify-between"><span class="label text-bone/50">Lands at</span><span class="font-serif text-4xl" data-time-label>7:00</span></label>
            <input id="brief-time" type="range" min="300" max="600" step="15" value="420" class="mt-4 w-full" data-time>
            <div class="mt-1 flex justify-between text-xs text-bone/40"><span>5:00</span><span>10:00</span></div>
          </div>
          <p class="mt-10 border-l border-sun pl-5 text-bone/80" aria-live="polite" data-brief-summary>3 sources, about 2 minutes to read, in your inbox at 7:00.</p>
        </div>

        <div class="lg:col-span-6 lg:col-start-7">
          <div class="relative overflow-hidden bg-coal">
            <div class="relative h-40 overflow-hidden border-b border-coal-line" aria-hidden="true">
              <div class="plane-b absolute inset-0 bg-pitch"></div>
              <div class="beam beam-b absolute inset-0 opacity-90"></div>
              <div class="disc absolute h-14 w-14 -translate-x-1/2 -translate-y-1/2 transition-all duration-500" style="left: 37%; top: 55%" data-sun></div>
            </div>
            <div class="p-7 md:p-10">
              <p class="label text-bone/50">Thursday · <span data-time-echo>7:00</span></p>
              <p class="mt-3 font-serif text-3xl font-light md:text-4xl">Good morning, Ines.</p>
              <div class="mt-8 grid gap-6" data-brief>
                  <div data-brief-item="calendar" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" >
                    <p class="label pt-1 text-leaf">Calendar</p>
                    <p class="leading-relaxed text-bone/80">Four meetings, the first at 10:30. The pricing review moved to Friday, so your afternoon is clear.</p>
                  </div>
                  <div data-brief-item="code" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" >
                    <p class="label pt-1 text-leaf">Pull requests</p>
                    <p class="leading-relaxed text-bone/80">Two reviews are waiting on you. The billing migration has been open nine days and now blocks Tomas.</p>
                  </div>
                  <div data-brief-item="incidents" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" >
                    <p class="label pt-1 text-leaf">Incidents</p>
                    <p class="leading-relaxed text-bone/80">One alert overnight: checkout latency for eleven minutes at 03:12. It resolved itself and nobody was paged.</p>
                  </div>
                  <div data-brief-item="pipeline" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" hidden>
                    <p class="label pt-1 text-leaf">Pipeline</p>
                    <p class="leading-relaxed text-bone/80">Halvorsen signed. Brightmoor went quiet after the second call, which is worth a nudge today.</p>
                  </div>
                  <div data-brief-item="support" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" hidden>
                    <p class="label pt-1 text-leaf">Support</p>
                    <p class="leading-relaxed text-bone/80">Fourteen new tickets, none urgent. Three mention the same export bug, already assigned to Mei.</p>
                  </div>
                  <div data-brief-item="weather" class="grid gap-1 border-t border-coal-line pt-5 md:grid-cols-[9rem_1fr] md:gap-6" hidden>
                    <p class="label pt-1 text-leaf">Weather</p>
                    <p class="leading-relaxed text-bone/80">Dry until four, then rain. Cycle in, take the train home.</p>
                  </div>
                <p class="border-t border-coal-line pt-5 font-serif text-2xl italic text-bone/60" data-brief-empty hidden>Nothing to read. Enjoy the quiet, or pick a source.</p>
              </div>
            </div>
          </div>
        </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.querySelector("[data-menu-label]").textContent = open ? "Menu" : "Close";
        menu.hidden = open;
        document.querySelector("header").classList.toggle("bg-pitch", !open);
      });
    })();

    // Scroll story: marks the step in view
    document.querySelectorAll("[data-scroll-story]").forEach((story) => {
      const links = story.querySelectorAll("[data-story-link]");
      if (!("IntersectionObserver" in window)) return;
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          links.forEach((link) => link.toggleAttribute("aria-current", link.getAttribute("href") === `#${entry.target.id}`));
        });
      }, { rootMargin: "-45% 0px -50% 0px" });
      story.querySelectorAll("[data-story-step]").forEach((step) => observer.observe(step));
    });

    // Brief composer
    (() => {
      const time = document.querySelector("[data-time]");
      if (!time) return;
      const sources = [...document.querySelectorAll("[data-source]")];
      const sun = document.querySelector("[data-sun]");
      const update = () => {
        const minutes = Number(time.value);
        const clock = `${Math.floor(minutes / 60)}:${String(minutes % 60).padStart(2, "0")}`;
        const progress = (minutes - 300) / 300;
        sun.style.left = 15 + progress * 55 + "%";
        sun.style.top = 78 - Math.sin(progress * Math.PI * 0.75) * 50 + "%";
        const active = sources.filter((button) => button.getAttribute("aria-pressed") === "true").map((button) => button.dataset.source);
        document.querySelectorAll("[data-brief-item]").forEach((item) => { item.hidden = !active.includes(item.dataset.briefItem); });
        document.querySelector("[data-brief-empty]").hidden = active.length > 0;
        document.querySelector("[data-time-label]").textContent = clock;
        document.querySelector("[data-time-echo]").textContent = clock;
        const read = Math.max(1, Math.round(active.length * 0.6));
        document.querySelector("[data-brief-summary]").textContent = active.length
          ? `${active.length} ${active.length === 1 ? "source" : "sources"}, about ${read} ${read === 1 ? "minute" : "minutes"} to read, in your inbox at ${clock}.`
          : `No sources picked, so there is nothing to send at ${clock}.`;
      };
      sources.forEach((button) => button.addEventListener("click", () => {
        button.setAttribute("aria-pressed", String(button.getAttribute("aria-pressed") !== "true"));
        update();
      }));
      time.addEventListener("input", update);
      update();
    })();

    // Integration filter
    (() => {
      const group = document.querySelector("[data-filter]");
      if (!group) return;
      const items = document.querySelectorAll("[data-filter-grid] [data-category]");
      group.querySelectorAll("[data-filter-value]").forEach((button) => {
        button.addEventListener("click", () => {
          const value = button.dataset.filterValue;
          group.querySelectorAll("[data-filter-value]").forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
          items.forEach((item) => { item.hidden = value !== "all" && item.dataset.category !== value; });
        });
      });
    })();

    // 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

Solstra screenshot

SaaS

Solstra

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