Block 289 of 297
Logo Marquee
An endless, slow-drifting row of partner logos that eases to a stop on hover, focus or its Pause button.
- Puck key
- LogoMarqueeBlock
- Export
- logoMarqueeBlock
- React component
- <LogoMarquee />
- Files
- components/puck/logo-marquee-block.tsx
- components/puck/logo-marquee.client.tsx
- Dependencies
- gsap
- License
- MIT (GSAP has its own license)
About this block
When to use it, how to write for it, and what to change in the code.
What it's for
A centered heading and intro above an endless, slowly drifting row of funder or partner logos. It slows to a stop on hover or keyboard focus and has a visible Pause button. Partners without a logo appear as typeset wordmarks, so the row looks finished before artwork arrives. Edges fade into the white background.
- A funders and sponsors band on a home or about page
- Event sponsor recognition on a gala or race page
- Coalition members or accrediting bodies
Writing the content
- Partners allows up to 24. Wide SVG or transparent PNG logos work best; they display grayscale until hovered.
- Name is used as the logo's alt text, or shown as a wordmark when Logo URL is blank, so always fill it in.
- Add a Link only when the partner has a page worth visiting; linked logos get a focus ring.
- Speed offers Slow, Medium and Fast. Slow suits long names and most sponsor rows.
Accessibility
- The Pause button stops the motion at any time, and hover or focus also brings the row to a stop (WCAG 2.2.2).
- Duplicate copies used for the loop are aria-hidden and inert, so screen readers and keyboard users meet each partner once.
- Reduced-motion visitors get a still, wrapped list, and motion pauses when the row is off screen or the tab is hidden.
Customizing the code
- Requires gsap and logo-marquee.client.tsx. SPEEDS (28, 44, 68 pixels per second) sets the three speed options.
- Logo size is h-8 sm:h-9 with max-w-36; remove grayscale and opacity-70 to show full-color logos.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Partnersarray
- Speedradio
- Directionradio