ValyroUI Русская версия

Marquee

Endless scrolling row of logos and testimonials. Pro · Effects › Borders, text and numbers

An endless scroller for logos, testimonials or tags. The content is repeated as many times as it takes to fill the width, and every copy slides by exactly its own size, so the loop is seamless at any width; the copies are hidden from assistive technology and keyboard focus. Eases to a stop on hover and focus (and back up to speed), pauses off screen and in hidden tabs; with reduced motion the items sit still in a wrapped row (or a scrollable column).

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add marquee
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { Marquee } from 'valyro-ui-pro';

Props

PropTypeDefault
speednumber40Scroll speed, px per second — the same for short and long content.
verticalbooleanfalseScroll vertically. Give the marquee a height.
reversebooleanfalseScroll the other way: towards the inline end, or downwards.
pauseOnHoverbooleantruePause while the pointer is over the marquee or anything inside has keyboard focus.
fadebooleantrueFade the content out at the edges.
gapnumber | stringSpace between items (and between copies), px or any CSS length.

Related components

Previous: Number Ticker · Next: Cursor Glow · All Effects