Landing sections JS behaviour

Logos section

The trust section: a grid of grayscale logos that reclaim their brand colours on hover with fine trust stats beneath; flip one switch and the same logos become a seamless slow marquee that pauses on hover.

Documentation

Real scenarios

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

Trusted from Oslo to Singapore

Beacon runs where your team already works

  • 8,200+teams on board
  • 142countries served
  • 99.99%measured uptime
  • 4.9average review score

All marks belong to their owners. Numbers measured October 2026 across 34 regions.

Important props

Important props
Prop Type Default What it does
mode 'grid' | 'scroll' 'grid' Static grid or moving band; the switch above swaps the same eight logos without a single jump.
grayscale filter '1 → 0' Logos rest at full grayscale and 60% opacity, returning to full colour in 300ms on hover.
speed duration '32s' The marquee speed; the track is laid out twice for a seamless loop and hovering holds it in place.
stats array '4' Four fine stats under the logos — teams, countries, uptime and score — Persian digits in Persian.

Snippet

<section class="seclg" x-data="{ scroll: false }">
    <div class="seclg-switch" role="group" aria-label="Logo display mode">
        <button type="button" :class="!scroll && 'seclg-on'" x-on:click="scroll = false">Grid</button>
        <button type="button" :class="scroll && 'seclg-on'" x-on:click="scroll = true">Slow scroll</button>
    </div>

    <!-- the static grid: grayscale logos that colour on hover -->
    <ul class="seclg-grid" x-show="!scroll">
        <li class="seclg-logo" style="--seclg-brand: #0EA5E9"><svg>…</svg>Lumina</li>
        <li class="seclg-logo" style="--seclg-brand: #8B5CF6"><svg>…</svg>Orbital</li>
    </ul>

    <!-- the marquee: the track is laid out twice for a seamless loop -->
    <div class="seclg-marquee" x-show="scroll" x-cloak dir="ltr">
        <ul class="seclg-track">
            <li class="seclg-logo">…Lumina…</li><li class="seclg-logo">…Orbital…</li>
            <li class="seclg-logo" aria-hidden="true">…Lumina…</li><li class="seclg-logo" aria-hidden="true">…Orbital…</li>
        </ul>
    </div>
</section>

<style>
.seclg { display: grid; gap: 1.5rem; justify-items: center; padding: 2.5rem 1.5rem; }
.seclg-logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--seclg-brand);
              filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease; }
.seclg-logo:hover { filter: grayscale(0); opacity: 1; }
.seclg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.seclg-marquee { inline-size: 100%; overflow: clip; }
.seclg-track { display: flex; gap: 3rem; inline-size: max-content; margin: 0; padding: 0; list-style: none;
               animation: seclg-run 32s linear infinite; }
.seclg-marquee:hover .seclg-track { animation-play-state: paused; }
@keyframes seclg-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .seclg-track { animation: none; flex-wrap: wrap; } }
</style>
// app/Pages/Trust.jsx — Inertia (React) page; renders the React
// snippet below unchanged, with Inertia's Link wired into the provider.
import { Link } from '@inertiajs/react';
import { NabuXUIProvider } from '@nabuxai/ui-react';
import LogoBand from '@/components/LogoBand';

export default function Trust() {
  return (
    <NabuXUIProvider locale="en" linkComponent={Link}>
      <main className="nx-page">
        <LogoBand />
      </main>
    </NabuXUIProvider>
  );
}
// LogoBand.jsx — grayscale grid ↔ seamless marquee, one switch
import { useState } from 'react';
import '@nabuxai/ui-core/css';

const LOGOS = [
  { id: 'lumina', name: 'Lumina', color: '#0EA5E9', mark: 'ring' },
  { id: 'orbital', name: 'Orbital', color: '#8B5CF6', mark: 'orbit' },
  { id: 'kanso', name: 'Kanso', color: '#57534E', mark: 'enso' },
  { id: 'vantage', name: 'Vantage', color: '#2563EB', mark: 'peak' },
  { id: 'helios', name: 'Helios', color: '#F59E0B', mark: 'sun' },
  { id: 'northwind', name: 'Northwind', color: '#475569', mark: 'north' },
  { id: 'quantia', name: 'Quantia', color: '#DB2777', mark: 'wave' },
  { id: 'fabrik', name: 'Fabrik', color: '#EA580C', mark: 'grid' },
];

export default function LogoBand() {
  const [scroll, setScroll] = useState(false);
  const logo = (l, ghost = false) => (
    <li className="scl-logo" key={ghost ? `g-${l.id}` : l.id} aria-hidden={ghost || undefined}
        style={{ '--scl-brand': l.color }}>
      <svg viewBox="0 0 24 24" aria-hidden="true">
        {l.mark === 'ring' && <circle cx="12" cy="12" r="8" fill="none" stroke="currentColor" strokeWidth="2.4" />}
        {l.mark === 'orbit' && <><circle cx="12" cy="12" r="4" fill="currentColor" /><ellipse cx="12" cy="12" rx="10" ry="4.5" fill="none" stroke="currentColor" strokeWidth="1.8" /></>}
        {l.mark === 'enso' && <path d="M17.5 7A8 8 0 1 0 19 13.5" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinecap="round" />}
        {l.mark === 'peak' && <path d="M3 19L10 5l4 7 3-4 4 11z" fill="currentColor" />}
        {l.mark === 'sun' && <><circle cx="12" cy="12" r="4.5" fill="currentColor" /><path d="M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3" stroke="currentColor" strokeWidth="2" strokeLinecap="round" /></>}
        {l.mark === 'north' && <path d="M12 3l7 18-7-4-7 4z" fill="currentColor" />}
        {l.mark === 'wave' && <path d="M2 14c2.5-6 5-6 7.5 0s5 6 7.5 0 5-6 5-6" fill="none" stroke="currentColor" strokeWidth="2.4" strokeLinecap="round" />}
        {l.mark === 'grid' && <><rect x="3" y="3" width="8" height="8" fill="currentColor" /><rect x="13" y="13" width="8" height="8" fill="currentColor" /></>}
      </svg>
      {l.name}
    </li>
  );

  return (
    <>
      <style>{`
        .scl { display: grid; gap: 1.75rem; justify-items: center; padding: 2.5rem 1.5rem;
               font: 500 .9375rem/1.5 'Inter', sans-serif; }
        .scl-switch { display: inline-flex; border: 1px solid #E7E5E4; border-radius: 999px; overflow: clip; }
        .scl-switch button { padding: .45rem 1.1rem; border: none; background: transparent; cursor: pointer;
                             font: 600 .8rem/1 'Inter', sans-serif; color: #78716C; }
        .scl-switch button[aria-pressed='true'] { background: #292524; color: #fff; }
        .scl-logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--scl-brand);
                    filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease;
                    font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
        .scl-logo:hover { filter: grayscale(0); opacity: 1; }
        .scl-logo svg { inline-size: 1.5rem; block-size: 1.5rem; }
        .scl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
        .scl-marquee { inline-size: 100%; overflow: clip; }
        .scl-track { display: flex; gap: 3rem; inline-size: max-content; margin: 0; padding: 0; list-style: none;
                     animation: scl-run 32s linear infinite; }
        .scl-marquee:hover .scl-track { animation-play-state: paused; }
        @keyframes scl-run { to { transform: translateX(-50%); } }
        @media (max-width: 560px) { .scl-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (prefers-reduced-motion: reduce) { .scl-track { animation: none; flex-wrap: wrap; } }
      `}</style>
      <section className="scl">
        <div className="scl-switch" role="group" aria-label="Logo display mode">
          <button type="button" aria-pressed={!scroll} onClick={() => setScroll(false)}>Grid</button>
          <button type="button" aria-pressed={scroll} onClick={() => setScroll(true)}>Slow scroll</button>
        </div>
        {scroll ? (
          // the doubled track makes the loop seamless
          <div className="scl-marquee" dir="ltr">
            <ul className="scl-track">
              {LOGOS.map((l) => logo(l))}
              {LOGOS.map((l) => logo(l, true))}
            </ul>
          </div>
        ) : (
          <ul className="scl-grid">{LOGOS.map((l) => logo(l))}</ul>
        )}
      </section>
    </>
  );
}
<!-- LogoBand.vue — grayscale grid ↔ seamless marquee, one switch -->
<script setup lang="ts">
import { ref } from 'vue';
import '@nabuxai/ui-core/css';

const logos = [
  { id: 'lumina', name: 'Lumina', color: '#0EA5E9', mark: 'ring' },
  { id: 'orbital', name: 'Orbital', color: '#8B5CF6', mark: 'orbit' },
  { id: 'kanso', name: 'Kanso', color: '#57534E', mark: 'enso' },
  { id: 'vantage', name: 'Vantage', color: '#2563EB', mark: 'peak' },
  { id: 'helios', name: 'Helios', color: '#F59E0B', mark: 'sun' },
  { id: 'northwind', name: 'Northwind', color: '#475569', mark: 'north' },
  { id: 'quantia', name: 'Quantia', color: '#DB2777', mark: 'wave' },
  { id: 'fabrik', name: 'Fabrik', color: '#EA580C', mark: 'grid' },
];
const scroll = ref(false);
// the track carries every logo twice — the ghost copy closes the loop.
const trackLogos = [...logos, ...logos.map((l) => ({ ...l, ghost: true }))];
</script>

<template>
  <section class="scl">
    <div class="scl-switch" role="group" aria-label="Logo display mode">
      <button type="button" :aria-pressed="!scroll" @click="scroll = false">Grid</button>
      <button type="button" :aria-pressed="scroll" @click="scroll = true">Slow scroll</button>
    </div>
    <div v-if="scroll" class="scl-marquee" dir="ltr">
      <ul class="scl-track">
        <li v-for="l in trackLogos" :key="(l.ghost ? 'g-' : '') + l.id" class="scl-logo"
            :aria-hidden="l.ghost || undefined" :style="{ '--scl-brand': l.color }">
          <svg viewBox="0 0 24 24" aria-hidden="true">
            <template v-if="l.mark === 'ring'"><circle cx="12" cy="12" r="8" fill="none" stroke="currentColor" stroke-width="2.4" /></template>
            <template v-else-if="l.mark === 'orbit'"><circle cx="12" cy="12" r="4" fill="currentColor" /><ellipse cx="12" cy="12" rx="10" ry="4.5" fill="none" stroke="currentColor" stroke-width="1.8" /></template>
            <template v-else-if="l.mark === 'enso'"><path d="M17.5 7A8 8 0 1 0 19 13.5" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" /></template>
            <template v-else-if="l.mark === 'peak'"><path d="M3 19L10 5l4 7 3-4 4 11z" fill="currentColor" /></template>
            <template v-else-if="l.mark === 'sun'"><circle cx="12" cy="12" r="4.5" fill="currentColor" /><path d="M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3" stroke="currentColor" stroke-width="2" stroke-linecap="round" /></template>
            <template v-else-if="l.mark === 'north'"><path d="M12 3l7 18-7-4-7 4z" fill="currentColor" /></template>
            <template v-else-if="l.mark === 'wave'"><path d="M2 14c2.5-6 5-6 7.5 0s5 6 7.5 0 5-6 5-6" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" /></template>
            <template v-else><rect x="3" y="3" width="8" height="8" fill="currentColor" /><rect x="13" y="13" width="8" height="8" fill="currentColor" /></template>
          </svg>
          {{ l.name }}
        </li>
      </ul>
    </div>
    <ul v-else class="scl-grid">
      <li v-for="l in logos" :key="l.id" class="scl-logo" :style="{ '--scl-brand': l.color }">
        <svg viewBox="0 0 24 24" aria-hidden="true">
          <circle cx="12" cy="12" r="8" fill="none" stroke="currentColor" stroke-width="2.4" />
        </svg>
        {{ l.name }}
      </li>
    </ul>
  </section>
</template>

<style scoped>
.scl { display: grid; gap: 1.75rem; justify-items: center; padding: 2.5rem 1.5rem;
       font: 500 .9375rem/1.5 'Inter', sans-serif; }
.scl-switch { display: inline-flex; border: 1px solid #E7E5E4; border-radius: 999px; overflow: clip; }
.scl-switch button { padding: .45rem 1.1rem; border: none; background: transparent; cursor: pointer;
                     font: 600 .8rem/1 'Inter', sans-serif; color: #78716C; }
.scl-switch button[aria-pressed='true'] { background: #292524; color: #fff; }
.scl-logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--scl-brand);
            filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease;
            font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.scl-logo:hover { filter: grayscale(0); opacity: 1; }
.scl-logo :deep(svg) { inline-size: 1.5rem; block-size: 1.5rem; }
.scl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.scl-marquee { inline-size: 100%; overflow: clip; }
.scl-track { display: flex; gap: 3rem; inline-size: max-content; margin: 0; padding: 0; list-style: none;
             animation: scl-run 32s linear infinite; }
.scl-marquee:hover .scl-track { animation-play-state: paused; }
@keyframes scl-run { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .scl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .scl-track { animation: none; flex-wrap: wrap; } }
</style>
<!-- LogoBand.svelte — grayscale grid ↔ seamless marquee, one switch -->
<script lang="ts">
  import '@nabuxai/ui-core/css';

  const logos = [
    { id: 'lumina', name: 'Lumina', color: '#0EA5E9', mark: 'ring' },
    { id: 'orbital', name: 'Orbital', color: '#8B5CF6', mark: 'orbit' },
    { id: 'kanso', name: 'Kanso', color: '#57534E', mark: 'enso' },
    { id: 'vantage', name: 'Vantage', color: '#2563EB', mark: 'peak' },
    { id: 'helios', name: 'Helios', color: '#F59E0B', mark: 'sun' },
    { id: 'northwind', name: 'Northwind', color: '#475569', mark: 'north' },
    { id: 'quantia', name: 'Quantia', color: '#DB2777', mark: 'wave' },
    { id: 'fabrik', name: 'Fabrik', color: '#EA580C', mark: 'grid' },
  ];
  let scroll = $state(false);
</script>

<section class="scl">
  <div class="scl-switch" role="group" aria-label="Logo display mode">
    <button type="button" aria-pressed={!scroll} onclick={() => (scroll = false)}>Grid</button>
    <button type="button" aria-pressed={scroll} onclick={() => (scroll = true)}>Slow scroll</button>
  </div>
  <!-- the doubled track makes the loop seamless -->
  {#if scroll}
    <div class="scl-marquee" dir="ltr">
      <ul class="scl-track">
        {#each logos as l (l.id)}
          <li class="scl-logo" style="--scl-brand: {l.color}">
            <svg viewBox="0 0 24 24" aria-hidden="true">
              {#if l.mark === 'ring'}<circle cx="12" cy="12" r="8" fill="none" stroke="currentColor" stroke-width="2.4" />
              {:else if l.mark === 'orbit'}<circle cx="12" cy="12" r="4" fill="currentColor" /><ellipse cx="12" cy="12" rx="10" ry="4.5" fill="none" stroke="currentColor" stroke-width="1.8" />
              {:else if l.mark === 'enso'}<path d="M17.5 7A8 8 0 1 0 19 13.5" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" />
              {:else if l.mark === 'peak'}<path d="M3 19L10 5l4 7 3-4 4 11z" fill="currentColor" />
              {:else if l.mark === 'sun'}<circle cx="12" cy="12" r="4.5" fill="currentColor" /><path d="M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3" stroke="currentColor" stroke-width="2" stroke-linecap="round" />
              {:else if l.mark === 'north'}<path d="M12 3l7 18-7-4-7 4z" fill="currentColor" />
              {:else if l.mark === 'wave'}<path d="M2 14c2.5-6 5-6 7.5 0s5 6 7.5 0 5-6 5-6" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" />
              {:else}<rect x="3" y="3" width="8" height="8" fill="currentColor" /><rect x="13" y="13" width="8" height="8" fill="currentColor" />
              {/if}
            </svg>
            {l.name}
          </li>
        {/each}
        {#each logos as l ('g-' + l.id)}
          <li class="scl-logo" aria-hidden="true" style="--scl-brand: {l.color}">
            <svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="8" /></svg>
            {l.name}
          </li>
        {/each}
      </ul>
    </div>
  {:else}
    <ul class="scl-grid">
      {#each logos as l (l.id)}
        <li class="scl-logo" style="--scl-brand: {l.color}">
          <svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="8" /></svg>
          {l.name}
        </li>
      {/each}
    </ul>
  {/if}
</section>

<style>
.scl { display: grid; gap: 1.75rem; justify-items: center; padding: 2.5rem 1.5rem;
       font: 500 .9375rem/1.5 'Inter', sans-serif; }
.scl-switch { display: inline-flex; border: 1px solid #E7E5E4; border-radius: 999px; overflow: clip; }
.scl-switch button { padding: .45rem 1.1rem; border: none; background: transparent; cursor: pointer;
                     font: 600 .8rem/1 'Inter', sans-serif; color: #78716C; }
.scl-switch button[aria-pressed='true'] { background: #292524; color: #fff; }
.scl-logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--scl-brand);
            filter: grayscale(1); opacity: .6; transition: filter .3s ease, opacity .3s ease;
            font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.scl-logo:hover { filter: grayscale(0); opacity: 1; }
.scl-logo svg { inline-size: 1.5rem; block-size: 1.5rem; }
.scl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.scl-marquee { inline-size: 100%; overflow: clip; }
.scl-track { display: flex; gap: 3rem; inline-size: max-content; margin: 0; padding: 0; list-style: none;
             animation: scl-run 32s linear infinite; }
.scl-marquee:hover .scl-track { animation-play-state: paused; }
@keyframes scl-run { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .scl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .scl-track { animation: none; flex-wrap: wrap; } }
</style>