Example Usage
Here’s how to use the Marquee component:
tsx
import { Marquee } from "@tenedev/marquee";
<Marquee speed={75} gap={20}>
<span>Item 1</span>
<span>Item 2</span>
<span>Item 3</span>
</Marquee>NOTE
- Ensure
framer-motionis installed since it is a peer dependency. - The
speedprop determines the animation duration. - The
gapprop adjusts spacing between child elements.