Components
Marquee
Continuously scrolls its children horizontally in a seamless loop.
Marquee scrolls its children horizontally in a seamless, infinite loop — it
duplicates the content so the strip never shows a gap as it wraps. Control the
pace with speedSeconds (seconds for one full pass; higher is slower). Use it
for logo walls, testimonial tickers, and announcement strips.
Example
Preview
Officina AdminPrimitivesDesign tokensOfficina AdminPrimitivesDesign tokens
import { Marquee } from '@officina/ui';
<Marquee speedSeconds={20}>
{logos.map((logo) => (
<img key={logo.name} src={logo.src} alt={logo.name} className="h-8" />
))}
</Marquee>;API
| Prop | Type | Default | Description |
|---|---|---|---|
| speedSeconds | number | 24 |