1 GitHub star = 1 new component.

Star the repo
Agency & Marketing

Agency Platforms Marquee

Two counter-scrolling rows of platforms and tools (Google Ads, Meta, Search Console…) with partner badges.

marqueelogospartnersagency
Live Preview

Certified on the platforms where your customers are

  • Google Partner
  • Meta Business Partner
  • TikTok Agency Partner
  • Google Ads
  • Meta
  • TikTok
  • LinkedIn
  • YouTube
  • Microsoft Ads
  • Google Analytics 4
  • Search Console
  • Shopify
  • HubSpot
  • React
  • Looker Studio

Usage

Copy and paste this code into your React component:

tsx
import { AgencyPlatformsMarquee } from 'react-component-kit-ui/sections';

<AgencyPlatformsMarquee platforms={['Google Ads', 'Meta', 'TikTok', 'GA4']} badges={['Google Partner']} />

Manual Installation

If you are not using the npm package, create a new file and paste the following code: src/components/sections/AgencyPlatformsMarquee.tsx + AgencyPlatformsMarquee.css:

AgencyPlatformsMarquee.tsx
'use client';

import type { CSSProperties } from 'react';
import './AgencyPlatformsMarquee.css';

/** class:list → className */
function cx(...args: unknown[]): string {
  const out: string[] = [];
  const walk = (v: unknown) => {
    if (!v) return;
    if (typeof v === 'string' || typeof v === 'number') out.push(String(v));
    else if (Array.isArray(v)) v.forEach(walk);
    else if (typeof v === 'object') for (const [k, on] of Object.entries(v as Record<string, unknown>)) if (on) out.push(k);
  };
  args.forEach(walk);
  return out.join(' ');
}

/** "a: b; --c: d" → style object */
function st(css: string | undefined): CSSProperties {
  const o: Record<string, string> = {};
  for (const decl of String(css ?? '').split(';')) {
    const i = decl.indexOf(':');
    if (i < 0) continue;
    const k = decl.slice(0, i).trim();
    if (k) o[k.startsWith('--') ? k : k.replace(/-([a-z])/g, (_, c) => c.toUpperCase())] = decl.slice(i + 1).trim();
  }
  return o as CSSProperties;
}

/**
 * AgencyPlatformsMarquee — Two counter-scrolling rows of the platforms and tools an agency is
 * certified in (Google Ads, Meta, Search Console…), with an intro line and badges.
 *
 * @param {string} title - Intro line. Default 'Certified on the platforms where your customers are'.
 * @param {string[]} platforms - Names shown as pills (split across the two rows).
 * @param {string[]} badges - Small certification badges under the title (optional).
 * @param {number} speed - Seconds per loop. Default 38.
 * @param {string} className - Extra class.
 *
 * Accessibility: the platforms are a real list read once; the duplicated copy that makes the
 * loop seamless is aria-hidden; the animation pauses on hover and stops with reduced motion.
 */
export interface AgencyPlatformsMarqueeProps {
  title?: string;
  platforms?: string[];
  badges?: string[];
  speed?: number;
  className?: string;
}

export function AgencyPlatformsMarquee({
  title = 'Certified on the platforms where your customers are',
  platforms = ['Google Ads', 'Meta', 'TikTok', 'LinkedIn', 'YouTube', 'Microsoft Ads', 'Google Analytics 4', 'Search Console', 'Shopify', 'HubSpot', 'React', 'Looker Studio'],
  badges = ['Google Partner', 'Meta Business Partner', 'TikTok Agency Partner'],
  speed = 38,
  className = '',
}: AgencyPlatformsMarqueeProps) {
  const half = Math.ceil(platforms.length / 2);
  const rows = [platforms.slice(0, half), platforms.slice(half)].filter((r) => r.length > 0);
  return (
    <>
      <div className={cx(['apm', className])} style={st(`--apm-speed: ${speed}s`)} data-rk-cdc9a2="">
        <div className="apm__head" data-rk-cdc9a2="">
          <p className="apm__title" data-rk-cdc9a2="">{title}</p>
          {badges.length > 0 && (
            <ul className="apm__badges" data-rk-cdc9a2="">
              {badges.map((b, __i: number) => <li key={__i} data-rk-cdc9a2=""><span aria-hidden="true" data-rk-cdc9a2="">✓</span>{b}</li>)}
            </ul>
          )}
        </div>
        <ul className="apm__static" data-rk-cdc9a2="">{platforms.map((p, __i: number) => <li key={__i} className="apm__pill" data-rk-cdc9a2="">{p}</li>)}</ul>
        <div className="apm__rows" aria-hidden="true" data-rk-cdc9a2="">
          {rows.map((row, r) => (
            <div key={r} className={cx(['apm__row', { 'apm__row--rev': r % 2 === 1 }])} data-rk-cdc9a2="">
              <div className="apm__track" data-rk-cdc9a2="">
                {[...row, ...row, ...row, ...row].map((p, i) => (
                  <span key={i} className={cx(['apm__pill', { 'is-accent': i % 5 === 2 }])} data-rk-cdc9a2="">{p}</span>
                ))}
              </div>
            </div>
          ))}
        </div>
      </div>
    </>
  );
}

export default AgencyPlatformsMarquee;
AgencyPlatformsMarquee.css
.apm:where([data-rk-cdc9a2]) { padding-block: clamp(2rem, 5vw, 3.5rem); color: var(--c-text-1, #fff); overflow: hidden; }
.apm__head:where([data-rk-cdc9a2]) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4, 1rem); max-width: 1280px; margin: 0 auto clamp(1.25rem, 3vw, 2rem); padding-inline: clamp(1rem, 3vw, 2.5rem); }
.apm__title:where([data-rk-cdc9a2]) { margin: 0; max-width: 32ch; font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -0.02em; }
.apm__badges:where([data-rk-cdc9a2]) { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.apm__badges:where([data-rk-cdc9a2]) li:where([data-rk-cdc9a2]) { display: inline-flex; align-items: center; gap: 6px; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgb(var(--ink-rgb, 255 255 255) / 0.07); font-size: 0.8rem; font-weight: 700; color: var(--c-text-2, #a3a3a3); }
.apm__badges:where([data-rk-cdc9a2]) span:where([data-rk-cdc9a2]) { color: var(--agency-ink, var(--c-primary-light, #d4a017)); font-weight: 900; }
.apm__rows:where([data-rk-cdc9a2]) { display: grid; gap: 10px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.apm__row:where([data-rk-cdc9a2]) { overflow: hidden; }
.apm__track:where([data-rk-cdc9a2]) { display: flex; gap: 10px; width: max-content; animation: agency-platforms-marquee-apm-scroll var(--apm-speed, 38s) linear infinite; }
.apm__row--rev:where([data-rk-cdc9a2]) .apm__track:where([data-rk-cdc9a2]) { animation-direction: reverse; }
.apm:hover:where([data-rk-cdc9a2]) .apm__track:where([data-rk-cdc9a2]) { animation-play-state: paused; }
.apm__pill:where([data-rk-cdc9a2]) { padding: 0.85rem 1.5rem; border-radius: 999px; border: 1.5px solid var(--c-border, rgba(255, 255, 255, 0.14)); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.apm__pill.is-accent:where([data-rk-cdc9a2]) { background: var(--agency-accent, var(--c-primary-light, #d4a017)); border-color: transparent; color: var(--c-on-primary, #050505); }
@keyframes agency-platforms-marquee-apm-scroll { to { transform: translateX(-50%); } }
/* Real list: read by screen readers, shown instead of the marquee with reduced motion */
.apm__static:where([data-rk-cdc9a2]) { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; list-style: none; }
@media (prefers-reduced-motion: reduce) {
  .apm__rows:where([data-rk-cdc9a2]) { display: none; }
  .apm__static:where([data-rk-cdc9a2]) { position: static; width: auto; height: auto; clip: auto; display: flex; flex-wrap: wrap; gap: 10px; max-width: 1280px; margin: 0 auto; padding-inline: clamp(1rem, 3vw, 2.5rem); white-space: normal; }
}