Heroes Pure CSS

Logo marquee hero

A big title and CTA up top, and beneath them the infinite strip of simple SVG logos drifting by — pausing on hover and fading into a gradient mask at both ends; social proof, unboastful and always moving.

Documentation

Real scenarios

The component as it is used in a product — not a specimen grid.

Series A — led by Northline Ventures

Where fast teams ship

Asterly is the rollout layer engineering teams trust with their busiest hours — from seed-stage in Toronto to global fleets in Singapore.

No credit card · cancel with one click

Trusted by shipping teams at

Important props

Important props
Prop Type Default What it does
duration seconds '32s' One full pass of the strip; slow and continuous, never showy or hurried.
mask gradient '12% · 88%' The gradient mask at both ends; logos dissolve at the edges so entries and exits stay seamless.
pause state ':hover · :focus-within' The strip halts on hover — and on keyboard focus within — pure CSS, no JavaScript.
loop technique '2 × 50%' Two equal-width groups with matching trailing padding; translate: -50% closes a seamless loop.

Snippet

<section class="hrm">
    <h1 class="hrm-title">Where fast teams ship</h1>
    <p class="hrm-sub">Asterly is the rollout layer for engineering teams — from seed-stage to global franchise.</p>
    <button class="hrm-btn">Start free</button>

    <p class="hrm-label">Trusted by shipping teams at</p>
    <div class="hrm-belt">
        <div class="hrm-track">
            <div class="hrm-group">… SVG logos …</div>
            <div class="hrm-group" aria-hidden="true">… the same logos …</div>
        </div>
    </div>
</section>

<style>
.hrm-belt { overflow: clip; direction: ltr;
        mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.hrm-track { display: flex; inline-size: max-content;
        animation: hrm-scroll 32s linear infinite; }
.hrm-group { display: flex; gap: 3.5rem; padding-inline-end: 3.5rem; }
.hrm-belt:hover .hrm-track { animation-play-state: paused; }
@keyframes hrm-scroll { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .hrm-track { animation: none; } }
</style>
// resources/js/Pages/Landing.jsx — the Inertia (React) page; renders the
// React snippet below unchanged inside the app’s provider.
import { Link } from '@inertiajs/react';
import { NabuXUIProvider } from '@nabuxai/ui-react';
import MarqueeHero from '@/components/heroes/MarqueeHero';

export default function Landing() {
  return (
    <NabuXUIProvider locale="en" linkComponent={Link}>
      <MarqueeHero />
    </NabuXUIProvider>
  );
}
// MarqueeHero.jsx — title + CTA, then the CSS-only logo marquee
const BRANDS = ['Nordhaus', 'Kitework', 'Fjordline', 'Bluepeak', 'Halden', 'Montra', 'Vektor', 'Auralis'];

function LogoMark({ name }) {
  return (
    <span className="hrm-logo">
      <svg viewBox="0 0 24 24" aria-hidden="true">
        <path d="M4 20 12 5l8 15H4Z" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinejoin="round" />
      </svg>
      <b>{name}</b>
    </span>
  );
}

export default function MarqueeHero() {
  return (
    <>
      <style>{`
        .hrm-belt { overflow: clip; direction: ltr;
                mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
        .hrm-track { display: flex; inline-size: max-content;
                animation: hrm-scroll 32s linear infinite; }
        .hrm-group { display: flex; gap: 3.5rem; padding-inline-end: 3.5rem; }
        .hrm-belt:hover .hrm-track { animation-play-state: paused; }
        .hrm-logo { display: inline-flex; align-items: center; gap: .6rem;
                color: #575d85; font: 600 1.05rem/1 system-ui; }
        .hrm-logo svg { inline-size: 1.5rem; }
        @keyframes hrm-scroll { to { translate: -50% 0; } }
        @media (prefers-reduced-motion: reduce) { .hrm-track { animation: none; } }
      `}</style>
      <section className="hrm">
        <h1 className="hrm-title">Where fast teams ship</h1>
        <button className="hrm-btn">Start free</button>
        <p className="hrm-label">Trusted by shipping teams at</p>
        <div className="hrm-belt">
          <div className="hrm-track">
            {/* The second group is the loop’s invisible seam — aria-hidden. */}
            <div className="hrm-group">{BRANDS.map((b) => <LogoMark key={b} name={b} />)}</div>
            <div className="hrm-group" aria-hidden="true">{BRANDS.map((b) => <LogoMark key={b} name={b} />)}</div>
          </div>
        </div>
      </section>
    </>
  );
}
<!-- MarqueeHero.vue — title + CTA, then the CSS-only logo marquee -->
<script setup>
const brands = ['Nordhaus', 'Kitework', 'Fjordline', 'Bluepeak', 'Halden', 'Montra', 'Vektor', 'Auralis'];
</script>

<template>
  <section class="hrm">
    <h1 class="hrm-title">Where fast teams ship</h1>
    <button class="hrm-btn">Start free</button>
    <p class="hrm-label">Trusted by shipping teams at</p>
    <div class="hrm-belt">
      <div class="hrm-track">
        <!-- The second group is the loop’s invisible seam — aria-hidden. -->
        <div class="hrm-group">
          <span v-for="b in brands" :key="b" class="hrm-logo">
            <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20 12 5l8 15H4Z" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linejoin="round" /></svg>
            <b>{{ b }}</b>
          </span>
        </div>
        <div class="hrm-group" aria-hidden="true">
          <span v-for="b in brands" :key="b" class="hrm-logo">
            <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20 12 5l8 15H4Z" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linejoin="round" /></svg>
            <b>{{ b }}</b>
          </span>
        </div>
      </div>
    </div>
  </section>
</template>

<style scoped>
.hrm-belt { overflow: clip; direction: ltr;
        mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.hrm-track { display: flex; inline-size: max-content;
        animation: hrm-scroll 32s linear infinite; }
.hrm-group { display: flex; gap: 3.5rem; padding-inline-end: 3.5rem; }
.hrm-belt:hover .hrm-track { animation-play-state: paused; }
.hrm-logo { display: inline-flex; align-items: center; gap: .6rem;
        color: #575d85; font: 600 1.05rem/1 system-ui; }
.hrm-logo svg { inline-size: 1.5rem; }
@keyframes hrm-scroll { to { translate: -50% 0; } }
</style>
<!-- MarqueeHero.svelte — title + CTA, then the CSS-only logo marquee -->
<script>
  const brands = ['Nordhaus', 'Kitework', 'Fjordline', 'Bluepeak', 'Halden', 'Montra', 'Vektor', 'Auralis'];
</script>

<section class="hrm">
  <h1 class="hrm-title">Where fast teams ship</h1>
  <button class="hrm-btn">Start free</button>
  <p class="hrm-label">Trusted by shipping teams at</p>
  <div class="hrm-belt">
    <div class="hrm-track">
      <!-- The second group is the loop’s invisible seam — aria-hidden. -->
      {#each [false, true] as mirror (mirror)}
        <div class="hrm-group" aria-hidden={mirror || undefined}>
          {#each brands as b (b)}
            <span class="hrm-logo">
              <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20 12 5l8 15H4Z" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linejoin="round" /></svg>
              <b>{b}</b>
            </span>
          {/each}
        </div>
      {/each}
    </div>
  </div>
</section>

<style>
.hrm-belt { overflow: clip; direction: ltr;
        mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.hrm-track { display: flex; inline-size: max-content;
        animation: hrm-scroll 32s linear infinite; }
.hrm-group { display: flex; gap: 3.5rem; padding-inline-end: 3.5rem; }
.hrm-belt:hover .hrm-track { animation-play-state: paused; }
.hrm-logo { display: inline-flex; align-items: center; gap: .6rem;
        color: #575d85; font: 600 1.05rem/1 system-ui; }
.hrm-logo svg { inline-size: 1.5rem; }
@keyframes hrm-scroll { to { translate: -50% 0; } }
</style>