Motion
Marquee
Endless row (client logos). Speeds up with scrolling, pauses on hover, stops with reduced motion.
import { Marquee } from "@percentsa/motion";Examples
- Masar
- Nahj
- Tuwaiq
- Rawabi
- Sahm
- Watad
- Qimam
Code
export function MarqueeExample() {
const t = useT();
const names = ["Masar", "Nahj", "Tuwaiq", "Rawabi", "Sahm", "Watad", "Qimam"];
return (
<Marquee className="w-full" seconds={30} labels={{ pause: t("Pause", "إيقاف مؤقت"), play: t("Play", "تشغيل") }}>
{names.map((n) => (
<li key={n} className="display text-3xl text-fg-3" lang="en">
{n}
</li>
))}
</Marquee>
);
}