Skip to content
nexubDesign System
v11.9.0

Components · Motion

Marquee

BetaAdded v3.1.0

A row that scrolls sideways forever (logo strips, tool lists), in marketing mode. Pauses on hover and while focus is inside, stands still under reduced motion; the repeated copy is hidden from assistive tech and can’t be focused. Server component.

import { Marquee } from '@nexub/react';
View as Markdown

Playground

Props

speed
SlackXeroGoogle WorkspaceStripeQuickBooksWhatsApp
TSX
<Marquee>…</Marquee>

Examples

Default

SlackXeroGoogle WorkspaceStripeQuickBooksWhatsApp

Props

Props
PropTypeDefaultDescription
speed'fast' | 'normal' | 'slow''normal'Loop length: 44s, 28s or 18s.
rowClassNamestring'gap-12 pe-12 items-center'Classes for each copy of the row.
childrenrequiredReact.ReactNode—The items.

On iOS & Android