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';Playground
Props
speed
SlackXeroGoogle WorkspaceStripeQuickBooksWhatsApp
<Marquee>…</Marquee>Examples
Default
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| speed | 'fast' | 'normal' | 'slow' | 'normal' | Loop length: 44s, 28s or 18s. |
| rowClassName | string | 'gap-12 pe-12 items-center' | Classes for each copy of the row. |
| childrenrequired | React.ReactNode | — | The items. |
On iOS & Android
Web only
Marquee has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.