Skip to content
PixFortUI
Back
NexasFlow AI Hero preview
CodeFreeHeroes

NexasFlow AI Hero

Animated AI SaaS Hero Section with Soft UI Cards and Glow

1 copy

Use this component

The code is below. Use Copy code to copy it.

Share this component

HTML and CSS code

index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NexasFlow — AI That Automates Your Codebase</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&display=swap" rel="stylesheet">
<style>
:root{
  --bg:#F8F9FA; --surface:#fff; --line:rgba(20,22,40,.07); --border:rgba(20,22,40,.08);
  --ink:#0E1020; --muted:#9A9CA8; --text:#5E6070;
  --a1:#4F46E5; --a2:#8B5CF6; --a3:#C4B5FD;
  --grad:linear-gradient(135deg,var(--a1),var(--a2));
  --glow:rgba(99,83,255,.5);
  --radius:20px;
  --font:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.65,.05,.25,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--ink);min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
:focus-visible{outline:2px solid var(--a1);outline-offset:3px;border-radius:8px}

/* ---------- Blueprint frame ---------- */
.stage{position:relative;max-width:1280px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}
.stage::before,.stage::after{content:"";position:absolute;top:0;bottom:0;width:1px;background:var(--line);pointer-events:none}
.stage::before{left:clamp(12px,3vw,40px)}
.stage::after{right:clamp(12px,3vw,40px)}
.hline{position:absolute;left:0;right:0;height:1px;background:var(--line);pointer-events:none}
.vmid{position:absolute;top:84px;bottom:130px;left:51%;width:1px;background:var(--line);pointer-events:none}

.wrap{position:relative;padding:0 clamp(24px,6vw,84px)}

/* ---------- Nav ---------- */
nav{display:flex;align-items:center;justify-content:space-between;padding:22px 0;position:relative;z-index:5}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:18px;letter-spacing:-.02em}
.mark{width:28px;height:28px;border-radius:9px;background:var(--grad);display:grid;place-items:center;box-shadow:0 6px 16px -4px var(--glow),inset 0 1px 0 rgba(255,255,255,.35)}
.mark svg{width:16px;height:16px}
.links{display:flex;gap:2px;padding:4px;background:rgba(20,22,40,.04);border:1px solid var(--border);border-radius:12px}
.links a{font-size:12.5px;font-weight:500;color:var(--text);padding:7px 14px;border-radius:9px;transition:background .25s,color .25s}
.links a:hover{color:var(--ink)}
.links a.on{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(20,22,40,.08),0 0 0 1px var(--border)}
.btn-dark{background:var(--ink);color:#fff;font-size:13px;font-weight:500;padding:10px 18px;border-radius:11px;box-shadow:0 8px 20px -6px rgba(14,16,32,.5),inset 0 1px 0 rgba(255,255,255,.14);transition:transform .25s var(--ease),box-shadow .25s}
.btn-dark:hover{transform:translateY(-1px);box-shadow:0 12px 24px -6px rgba(14,16,32,.55),inset 0 1px 0 rgba(255,255,255,.14)}

/* ---------- Hero ---------- */
.hero{flex:1;display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(24px,5vw,72px);align-items:center;padding-top:clamp(24px,5vh,56px);padding-bottom:clamp(32px,5vh,56px)}
.pill{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:500;color:var(--text);background:#fff;border:1px solid var(--border);border-radius:99px;padding:6px 12px 6px 8px;box-shadow:0 2px 8px rgba(20,22,40,.04)}
.pill i{width:16px;height:16px;border-radius:50%;background:var(--grad);display:grid;place-items:center}
.pill i::after{content:"";width:5px;height:5px;border-radius:50%;background:#fff}
h1{font-size:clamp(38px,5.2vw,60px);line-height:1.06;letter-spacing:-.035em;font-weight:600;color:#A4A6B1;margin:26px 0 22px}
h1 b{color:var(--ink);font-weight:600}
h1 .chip{display:inline-grid;place-items:center;width:.72em;height:.72em;border-radius:.2em;rotate:-45deg;background:var(--grad);vertical-align:.02em;margin-left:.12em;box-shadow:0 10px 24px -6px var(--glow),inset 0 1px 0 rgba(255,255,255,.4)}
h1 .chip svg{width:52%;height:52%;}
.lede{font-size:15px;line-height:1.65;color:var(--text);max-width:440px}
.ctas{display:flex;align-items:center;gap:26px;margin-top:30px;flex-wrap:wrap}
.btn-glow{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:500;font-size:14px;padding:14px 24px;border-radius:14px;background:var(--grad);box-shadow:0 14px 34px -8px var(--glow),0 0 0 1px rgba(79,70,229,.6),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -6px 12px rgba(60,40,200,.35);transition:transform .3s var(--ease),box-shadow .3s}
.btn-glow:hover{transform:translateY(-2px);box-shadow:0 20px 40px -8px var(--glow),0 0 0 1px rgba(79,70,229,.6),inset 0 1px 0 rgba(255,255,255,.35),inset 0 -6px 12px rgba(60,40,200,.35)}
.btn-glow svg{width:14px;height:14px}
.btn-link{font-size:14px;font-weight:500;color:var(--text);padding:6px 2px;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.btn-link:hover{color:var(--ink);border-color:var(--ink)}
.note{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--muted);margin-top:16px;padding-left:6px}
.note svg{width:13px;height:13px}

/* update card (bento) */
.update{margin-top:clamp(28px,6vh,64px);display:flex;align-items:center;gap:16px;background:linear-gradient(180deg,#fff,#F3F4F6);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;max-width:480px;box-shadow:0 1px 0 #fff inset,0 18px 40px -22px rgba(20,22,40,.25)}
.update .ic{flex:none;width:44px;height:44px;border-radius:13px;background:var(--ink);display:grid;place-items:center;box-shadow:0 8px 16px -6px rgba(14,16,32,.5)}
.update .ic svg{width:20px;height:20px}
.update strong{display:block;font-size:14px;font-weight:600;letter-spacing:-.01em}
.update span{font-size:12px;color:var(--muted)}
.update a{margin-left:auto;font-size:12px;font-weight:500;color:var(--a1);white-space:nowrap}

/* ---------- Right panel ---------- */
.panel{position:relative;height:clamp(500px,66vh,600px);border-radius:28px;border:1px solid var(--border);background:radial-gradient(120% 70% at 50% 100%,rgba(139,92,246,.10),transparent 60%),linear-gradient(180deg,#fff 0%,#F1F2F5 100%);box-shadow:0 40px 80px -40px rgba(20,22,40,.28),inset 0 1px 0 #fff;overflow:hidden}
.panel::before{content:"";position:absolute;inset:14px;border-radius:20px;border:1px dashed rgba(20,22,40,.07);pointer-events:none}
.panel::after{content:"";position:absolute;left:0;right:0;top:0;height:34%;background:linear-gradient(180deg,#F5F6F8,transparent);z-index:4;pointer-events:none}
.glow{position:absolute;left:50%;bottom:-40px;width:340px;height:150px;transform:translateX(-50%);background:radial-gradient(closest-side,var(--glow),transparent);filter:blur(24px);opacity:.55;animation:breathe 4.8s ease-in-out infinite}
@keyframes breathe{50%{opacity:.9;transform:translateX(-50%) scale(1.12)}}

.hub{position:absolute;left:50%;bottom:26px;width:min(300px,70%);transform:translateX(-50%);aspect-ratio:3/2}
.hub svg{position:relative;inset:0;width:100%;height:100%;overflow:visible}
.hub .back{z-index:1}
.hub .front{z-index:3;filter:drop-shadow(0 24px 24px rgba(40,30,120,.18))}
.logo-tile{position:absolute;z-index:4;left:50%;top:66%;width:17%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:24%;background:var(--grad);display:flex;justify-content:center;align-items:center;box-shadow:0 14px 26px -6px var(--glow),inset 0 1px 0 rgba(255,255,255,.4);animation:bob 4.8s ease-in-out infinite}
.logo-tile svg{width:52%;height:52%}
@keyframes bob{50%{transform:translate(-50%,-56%)}}

.flow{position:absolute;left:0;right:0;bottom:calc(26px + min(300px,70%)*0.33);height:0;z-index:2}
.node{--y:0px;--s:.7;--o:0;position:absolute;left:50%;bottom:0;width:min(250px,72%);margin-left:calc(min(250px,72%)/-2);display:flex;align-items:center;gap:12px;padding:12px 16px 12px 12px;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 1px 0 #fff inset,0 2px 4px rgba(20,22,40,.04),0 12px 24px -10px rgba(20,22,40,.18);transform:translateY(var(--y)) scale(var(--s));opacity:var(--o);transition:transform 1.5s var(--ease),opacity 1.2s var(--ease),box-shadow 1.2s var(--ease),border-color 1.2s;will-change:transform,opacity}
.node.snap{transition:none}
.node[data-s="0"]{--y:0px;--s:.66;--o:0}
.node[data-s="1"]{--y:-62px;--s:.88;--o:.55}
.node[data-s="2"]{--y:-136px;--s:.95;--o:.85}
.node[data-s="3"]{--y:-226px;--s:1.08;--o:1;border-color:rgba(99,83,255,.28);box-shadow:0 1px 0 #fff inset,inset 0 -6px 14px rgba(99,83,255,.08),0 0 0 4px rgba(139,92,246,.08),0 30px 50px -16px rgba(79,70,229,.38)}
.node[data-s="4"]{--y:-316px;--s:.9;--o:.5}
.node[data-s="5"]{--y:-390px;--s:.78;--o:0}
.node .ico{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(180deg,#F6F6F9,#ECEDF2);color:#8A8C9A;box-shadow:inset 0 1px 2px rgba(20,22,40,.08),inset 0 -1px 0 #fff;transition:background 1s,color 1s,box-shadow 1s}
.node .ico svg{width:18px;height:18px}
.node[data-s="3"] .ico{background:var(--grad);color:#fff;box-shadow:0 8px 18px -4px var(--glow),inset 0 1px 0 rgba(255,255,255,.4)}
.node h3{font-size:14px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.node p{font-size:11.5px;color:var(--muted);margin-top:2px}
.node .tick{margin-left:auto;width:18px;height:18px;border-radius:50%;background:var(--grad);display:grid;place-items:center;opacity:0;transform:scale(.4);transition:opacity .6s .5s,transform .6s .5s var(--ease)}
.node .tick svg{width:10px;height:10px}
.node[data-s="3"] .tick{opacity:1;transform:scale(1)}

.side{position:absolute;top:44%;height:6px;border-radius:9px;background:rgba(20,22,40,.07);z-index:1}
.side.l{left:6%;width:12%}.side.r{right:6%;width:12%}

/* ---------- Trust bar ---------- */
.trust{position:relative;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.5)}
.trust .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px;padding-bottom:30px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;letter-spacing:-.02em;color:#8B8D99;filter:grayscale(1);transition:color .3s}
.logo:hover{color:var(--ink)}
.logo svg{width:20px;height:20px;fill:currentColor}
.ruler{height:34px;background:repeating-linear-gradient(90deg,rgba(20,22,40,.2) 0 1px,transparent 1px 14px) 0 100%/100% 8px no-repeat,repeating-linear-gradient(90deg,rgba(20,22,40,.28) 0 1px,transparent 1px 70px) 0 100%/100% 16px no-repeat;margin:0 clamp(12px,3vw,40px)}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero{grid-template-columns:1fr}
  .vmid{display:none}
  .lede{max-width:560px}
  .update{max-width:none}
  .panel{height:540px}
  .links{display:none}
}
@media (max-width:560px){
  nav{padding:16px 0}
  .ctas{gap:18px}
  .trust .wrap{justify-content:center;gap:22px 28px}
  .panel{height:500px;border-radius:22px}
  .node[data-s="3"]{--y:-206px}.node[data-s="4"]{--y:-290px}.node[data-s="5"]{--y:-350px}
  .update a{display:none}
}
@media (prefers-reduced-motion:reduce){
  .glow,.logo-tile{animation:none}
  .node{transition:none}
}
</style>
</head>
<body>
<div class="stage">
  <div class="hline" style="top:84px"></div>
  <div class="vmid"></div>

  <header class="wrap">
    <nav aria-label="Primary">
      <a class="brand" href="#" aria-label="NexasFlow home">
        <span class="mark"><svg viewBox="0 0 16 16" fill="none"><path d="M3 12V4l10 8V4" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
        NexasFlow
      </a>
      <div class="links">
        <a href="#" class="on">Features</a><a href="#">Solutions</a><a href="#">Integrations</a><a href="#">Pricing</a>
      </div>
      <a href="#" class="btn-dark">Get Started</a>
    </nav>
  </header>

  <main class="wrap hero">
    <section>
      <span class="pill"><i></i>Introducing Flow Agents 2.0</span>
      <h1>AI That Automates <b>Your Codebase</b> While You Design
        <span class="chip" aria-hidden="true"><svg viewBox="0 0 16 16" fill="none"><path d="M3 8h10M9 4l4 4-4 4" stroke="#fff" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></span>
      </h1>
      <p class="lede">NexasFlow reads your design files, writes the production code, runs the tests, and opens the pull request. Your team stays on the work that needs a human.</p>
      <div class="ctas">
        <a href="#" class="btn-glow"><svg viewBox="0 0 14 14" fill="#fff"><path d="M3 1.5v11L12 7z"/></svg>Watch Demo</a>
        <a href="#" class="btn-link">Start Free Trial</a>
      </div>
      <div class="note"><svg viewBox="0 0 14 14" fill="none" stroke="currentColor" stroke-width="1.4"><rect x="1.5" y="3" width="11" height="8" rx="1.6"/><path d="M1.5 6h11"/></svg>No credit card required</div>

      <a href="#" class="update">
        <span class="ic"><svg viewBox="0 0 20 20" fill="none" stroke="#fff" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="14" height="10" rx="2"/><path d="M7 17h6M10 14v3"/></svg></span>
        <div><strong>Explore the latest agents</strong><span>Code review, test writing, auto-deploy</span></div>
        <em style="margin-left:auto;font-style:normal;font-size:12px;font-weight:500;color:var(--a1);white-space:nowrap">Explore now</em>
      </a>
    </section>

    <section class="panel" aria-label="Animated AI workflow: tasks rising from the NexasFlow hub">
      <div class="glow"></div>
      <span class="side l"></span><span class="side r"></span>

      <div class="hub">
        <svg class="back" viewBox="0 0 300 200"><path d="M150 0L300 50L150 100L0 50Z" fill="#CFCFE0"/><path d="M150 100L300 50L300 56L150 106Z" fill="#B9B9D0" opacity=".7"/></svg>
      </div>

      <div class="flow" id="flow"></div>

      <div class="hub" style="pointer-events:none">
        <svg class="front" viewBox="0 0 300 200">
          <defs>
            <linearGradient id="gl" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#FDFDFE"/><stop offset="1" stop-color="#E4E5EC"/></linearGradient>
            <linearGradient id="gr" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#F1F2F6"/><stop offset="1" stop-color="#D5D7E1"/></linearGradient>
          </defs>
          <path d="M0 50L150 100V200L0 150Z" fill="url(#gl)" stroke="rgba(20,22,40,.08)"/>
          <path d="M300 50L150 100V200L300 150Z" fill="url(#gr)" stroke="rgba(20,22,40,.08)"/>
          <path d="M0 50L150 100L300 50" fill="none" stroke="#fff" stroke-width="2" opacity=".9"/>
        </svg>
        <div class="logo-tile"><svg viewBox="0 0 16 16" fill="none"><path d="M3 12V4l10 8V4" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></div>
      </div>
    </section>
  </main>

  <div class="trust">
    <div class="wrap">
      <span class="logo"><svg viewBox="0 0 24 24"><path d="M12 1a11 11 0 100 22 11 11 0 000-22zm-3 6a1.500 1.500 0 110 3 1.500 1.500 0 010-3zm0 7a1.500 1.500 0 110 3 1.500 1.500 0 010-3zm6-3.500a1.500 1.500 0 110 3 1.500 1.500 0 010-3zM8.250 10v4h1.500v-4zm1.500 4.500c0-1.500 1.500-2 3.500-2v-1.500c-3 0-5 1-5 3.500z" fill-rule="evenodd"/></svg>GitHub</span>
      <span class="logo"><svg viewBox="0 0 24 24"><path d="M12 3L23 21H1z"/></svg>Vercel</span>
      <span class="logo"><svg viewBox="0 0 24 24"><path d="M5 3h10l4 3v15H5zM9 8v8h1.500v-5l3 5H15V8h-1.500v5l-3-5z" fill-rule="evenodd"/></svg>Notion</span>
      <span class="logo"><svg viewBox="0 0 24 24"><rect x="2" y="9" width="8" height="3.500" rx="1.700"/><rect x="11.500" y="2" width="3.500" height="8" rx="1.700"/><rect x="14" y="11.500" width="8" height="3.500" rx="1.700"/><rect x="9" y="14" width="3.500" height="8" rx="1.700"/></svg>Slack</span>
      <span class="logo"><svg viewBox="0 0 24 24"><circle cx="8" cy="5.500" r="3.500"/><circle cx="16" cy="5.500" r="3.500"/><circle cx="8" cy="12" r="3.500"/><circle cx="16" cy="12" r="3.500"/><circle cx="8" cy="18.500" r="3.500"/></svg>Figma</span>
    </div>
  </div>
  <div class="ruler" aria-hidden="true"></div>
</div>

<script>
(function(){
  var tasks=[
    {t:"Analyze",d:"Reading design files",i:'<circle cx="9" cy="9" r="5.500"/><path d="M13.500 13.500L17 17"/>'},
    {t:"Generate",d:"Writing components",i:'<path d="M7 6L3 10l4 4M13 6l4 4-4 4"/>'},
    {t:"Optimize",d:"Cutting bundle size",i:'<path d="M3 6h8M15 6h2M3 14h2M9 14h8"/><circle cx="13" cy="6" r="2"/><circle cx="7" cy="14" r="2"/>'},
    {t:"Test",d:"Running 482 checks",i:'<path d="M10 2.500l6 2.500v4.500c0 4-2.500 6.500-6 8-3.500-1.500-6-4-6-8V5z"/><path d="M7 10l2 2 4-4"/>'},
    {t:"Review",d:"Opening pull request",i:'<circle cx="5" cy="5" r="2"/><circle cx="5" cy="15" r="2"/><circle cx="15" cy="12" r="2"/><path d="M5 7v6M15 10V8a3 3 0 00-3-3H9"/>'},
    {t:"Deploy",d:"Shipping to production",i:'<path d="M10 17V4M5 9l5-5 5 5"/>'}
  ];
  var flow=document.getElementById("flow"), N=tasks.length, nodes=[];
  var tick='<svg viewBox="0 0 10 10" fill="none" stroke="#fff" stroke-width="1.800" stroke-linecap="round" stroke-linejoin="round"><path d="M2 5.200L4.200 7.400 8 3"/></svg>';
  tasks.forEach(function(k,idx){
    var el=document.createElement("div");
    el.className="node"; el.dataset.s=idx;
    el.innerHTML='<div class="ico"><svg viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.700" stroke-linecap="round" stroke-linejoin="round">'+k.i+'</svg></div><div><h3>'+k.t+'</h3><p>'+k.d+'</p></div><span class="tick">'+tick+'</span>';
    flow.appendChild(el); nodes.push({el:el,s:idx});
  });
  var reduce=window.matchMedia("(prefers-reduced-motion: reduce)").matches;
  function step(){
    nodes.forEach(function(n){
      n.s=(n.s+1)%N;
      if(n.s===0){
        n.el.classList.add("snap"); n.el.dataset.s=0;
        void n.el.offsetWidth;
        n.el.classList.remove("snap");
      } else n.el.dataset.s=n.s;
    });
  }
  if(!reduce) setInterval(function(){ if(!document.hidden) step(); },2400);
})();
</script>
</body>
</html>

About this component

What’s inside

Soft UI hero for AI SaaS landing pages Workflow cards rise from a central hub in a smooth loop Active card scales up and lights up in an indigo-violet gradient Blueprint-style grid with faint layout lines Glowing primary button with a clean secondary link Monochrome partner logo bar for trust Fully responsive from desktop to mobile Single self-contained file, no libraries needed Colors are easy to change from one place

How to use it

  1. Copy the HTML into your page where the component should appear.
  2. Add the CSS to your stylesheet, or into a <style> block in the page head.
  3. Change the text, links and images to match your project.
Loading related components…