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

Suntrix Hero

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

0 16
Suntrix Hero preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

suntrix.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>Suntrix Hero | Tailwind CSS UI Block</title>
    <meta name="description" content="A hero block extracted from the Suntrix template, available in Tailwind CSS.">
    <meta name="keywords" content="Suntrix, Tailwind CSS template, HTML website template, solar energy, renewable startup, clean tech, green energy landing page">
    <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="Suntrix | Tailwind CSS Solar Energy Startup Template">
    <meta property="og:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
    <meta property="og:image" content="">
    <meta property="og:image:alt" content="Suntrix template preview">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="">
    <meta name="twitter:title" content="Suntrix | Tailwind CSS Solar Energy Startup Template">
    <meta name="twitter:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
    <meta name="twitter:image" content="">
    <meta name="twitter:image:alt" content="Suntrix template preview">
    <script src="https://cdn.tailwindcss.com/3.4.17"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
        }
        .hero-mosaic {
            --tile: 8rem;
            --gap: 0.75rem;
        }
        @media (min-width: 1024px) {
            .hero-mosaic {
                --tile: calc((min(100vw, 80rem) - 4rem - 5 * var(--gap)) / 6 * 0.92);
                grid-template-rows: repeat(3, var(--tile));
            }
        }
        .mosaic-tile {
            height: var(--tile);
        }
        .mosaic-img {
            position: absolute;
            left: 0;
            width: 100%;
            height: calc(3 * var(--tile) + 2 * var(--gap));
            object-fit: cover;
            object-position: 14% center;
        }
        .mosaic-top { top: 0; }
        .mosaic-mid { top: calc(-1 * (var(--tile) + var(--gap))); }
        .mosaic-bottom { top: calc(-2 * (var(--tile) + var(--gap))); }
        .dot-map {
            background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.1px, transparent 1.4px);
            background-size: 9px 9px;
            -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
            mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
        }
        .turbine-rotor {
            transform-origin: 60px 52px;
            animation: turbine-spin 9s linear infinite;
        }
        @keyframes turbine-spin {
            to { transform: rotate(360deg); }
        }
        @media (prefers-reduced-motion: reduce) {
            .turbine-rotor { animation: none; }
        }
    </style>
</head>
<body class="bg-white text-[#1d2150] overflow-x-hidden">
<!-- block:start hero -->
    <header id="hero" class="relative overflow-hidden bg-gradient-to-br from-[#dfeafc] via-[#eef4fe] to-[#e3edfc] pt-32 pb-20 lg:pt-36">
        <div class="pointer-events-none absolute -left-40 top-40 h-[28rem] w-[28rem] rounded-full bg-[#b7cff5]/60 blur-3xl"></div>
        <div class="pointer-events-none absolute right-0 top-0 h-[24rem] w-[24rem] rounded-full bg-white/70 blur-3xl"></div>

        <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="hero-mosaic grid grid-cols-2 gap-3 lg:grid-cols-6">

                <div class="col-span-2 mb-8 lg:mb-0 lg:col-start-1 lg:col-span-3 lg:row-start-1 lg:row-span-2 relative z-10">
                    <h1 class="font-extrabold leading-[0.95] tracking-tight text-6xl sm:text-7xl lg:text-6xl xl:text-8xl">
                        <span class="flex items-center gap-3 text-[#7ea4e6]">
                            Solar
                            <svg class="w-16 h-16 xl:w-20 xl:h-20" viewBox="0 0 64 64" aria-hidden="true">
                                <defs>
                                    <radialGradient id="hero-sun" cx="40%" cy="35%" r="65%">
                                        <stop offset="0%" stop-color="#ffe27a"/>
                                        <stop offset="100%" stop-color="#f5a623"/>
                                    </radialGradient>
                                </defs>
                                <g stroke="#f7b733" stroke-width="3" stroke-linecap="round">
                                    <path d="M32 3v8M32 53v8M3 32h8M53 32h8M11.5 11.5l5.7 5.7M46.8 46.8l5.7 5.7M11.5 52.5l5.7-5.7M46.8 17.2l5.7-5.7"/>
                                </g>
                                <circle cx="32" cy="32" r="15" fill="url(#hero-sun)"/>
                            </svg>
                        </span>
                        <span class="block">Energy</span>
                    </h1>
                    <p class="mt-5 max-w-sm text-sm leading-relaxed text-[#1d2150]/75">
                        We're a full-service design and development agency crafting modern brands, websites, and products that drive results.
                    </p>
                    <a href="#projection" class="mt-7 inline-flex items-center gap-3 rounded-lg bg-[#1d2150] px-5 py-3 text-sm font-bold text-white hover:bg-[#2c3170] transition-colors">
                        Get Started <i class="fa-solid fa-chevron-right text-[10px]"></i>
                    </a>
                </div>

                <div class="pointer-events-none hidden lg:block lg:col-start-4 lg:row-start-1 relative">
                    <svg class="absolute -left-16 -top-10 h-[12.5rem] w-[9rem] drop-shadow-xl" viewBox="0 0 120 180" aria-hidden="true">
                        <defs>
                            <linearGradient id="tower" x1="0" x2="1">
                                <stop offset="0%" stop-color="#ffffff"/>
                                <stop offset="100%" stop-color="#d6dfee"/>
                            </linearGradient>
                        </defs>
                        <path d="M57 54h6l4 126H53Z" fill="url(#tower)"/>
                        <g class="turbine-rotor" fill="#f7f9fd" stroke="#dbe3f1" stroke-width="0.8">
                            <path d="M60 52 64 4c1-3-7-3-7 0Z"/>
                            <path d="M60 52 102 76c3 2 7-5 4-7Z"/>
                            <path d="M60 52 16 74c-3 1 1 8 4 6Z"/>
                        </g>
                        <circle cx="60" cy="52" r="5" fill="#ffffff" stroke="#cfd9ea"/>
                    </svg>
                </div>

                <div class="mosaic-tile relative hidden overflow-hidden rounded-2xl lg:block lg:col-start-5 lg:row-start-1">
                    <img class="mosaic-img mosaic-top" src="https://images.unsplash.com/photo-1624397640148-949b1732bb0a?auto=format&fit=crop&w=800&q=80" alt="Solar technician installing a black panel on a sunny rooftop" />
                </div>
                <div class="mosaic-tile relative overflow-hidden rounded-2xl lg:col-start-5 lg:row-start-2">
                    <img class="mosaic-img mosaic-mid" src="https://images.unsplash.com/photo-1624397640148-949b1732bb0a?auto=format&fit=crop&w=800&q=80" alt="" aria-hidden="true" />
                </div>
                <div class="mosaic-tile relative hidden overflow-hidden rounded-2xl lg:block lg:col-start-5 lg:row-start-3">
                    <img class="mosaic-img mosaic-bottom" src="https://images.unsplash.com/photo-1624397640148-949b1732bb0a?auto=format&fit=crop&w=800&q=80" alt="" aria-hidden="true" />
                </div>

                <div class="mosaic-tile flex flex-col justify-between rounded-2xl bg-white p-4 shadow-sm lg:col-start-6 lg:row-start-1">
                    <div>
                        <p class="text-3xl font-semibold text-[#7ea4e6]">200K+</p>
                        <p class="mt-1 text-[11px] font-medium leading-snug text-[#1d2150]/70">Meet the heart of our community</p>
                    </div>
                    <div class="flex -space-x-2">
                        <img class="h-7 w-7 rounded-full border-2 border-white object-cover" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-2.jpg" alt="Community member" />
                        <img class="h-7 w-7 rounded-full border-2 border-white object-cover" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-3.jpg" alt="Community member" />
                        <img class="h-7 w-7 rounded-full border-2 border-white object-cover" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="Community member" />
                    </div>
                </div>

                <div class="mosaic-tile overflow-hidden rounded-2xl lg:col-start-4 lg:row-start-2">
                    <img class="h-full w-full object-cover" src="https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=600&q=80" alt="Rows of solar panels under a bright cloudy sky" />
                </div>

                <div class="mosaic-tile overflow-hidden rounded-2xl lg:col-start-6 lg:row-start-2">
                    <img class="h-full w-full object-cover" src="https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=600&q=80" alt="Aerial view of solar panels on green grass" />
                </div>

                <div class="mosaic-tile col-span-2 grid grid-cols-2 overflow-hidden rounded-2xl bg-[#7ea4e6] lg:col-start-3 lg:row-start-3">
                    <div class="flex flex-col justify-center gap-2 p-4 xl:p-5">
                        <p class="flex items-center gap-2 text-[9px] font-bold uppercase tracking-wider text-white/85">
                            <i class="fa-solid fa-sun text-[#ffd35c]"></i> Ready for future
                        </p>
                        <p class="text-base font-bold leading-snug text-white xl:text-lg">Green Energy Make Bold Impact</p>
                    </div>
                    <img class="h-full w-full rounded-tl-2xl object-cover" src="https://images.unsplash.com/photo-1521618755572-156ae0cdd74d?auto=format&fit=crop&w=600&q=80" alt="Close view of blue photovoltaic panels in a solar field" />
                </div>

                <div class="flex flex-col justify-end lg:col-start-6 lg:row-start-3 lg:pl-1">
                    <h2 class="text-sm font-bold leading-snug">Smart Energy for Modern Living</h2>
                    <p class="mt-3 text-[11px] leading-relaxed text-[#1d2150]/60">Experience innovation that turns sunlight into savings — efficient, reliable, and green.</p>
                </div>

                <div class="flex flex-col justify-end lg:col-start-1 lg:col-span-2 lg:row-start-3">
                    <p class="text-5xl font-semibold leading-none">30<sup class="align-super text-xl">+</sup></p>
                    <p class="mt-2 text-xs font-medium text-[#1d2150]/60">Years of Experience</p>
                </div>
            </div>
        </div>
    </header>
    <!-- block:end hero -->
<script>
        document.getElementById('mobile-menu-button').addEventListener('click', function () {
            var menu = document.getElementById('mobile-menu');
            var open = menu.classList.toggle('hidden') === false;
            this.setAttribute('aria-expanded', open);
        });
    </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>

From this template

Suntrix screenshot Premium

Startup

Suntrix

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