Marquee
Marquee moves its children sideways in an endless line while it is on screen, holds on a pointer, and stands still for someone who asked for less motion.
Item 1Item 2Item 3Item 4Item 5Item 6
Usage
Examples
Duration
duration sets how many milliseconds the line takes to pass once, 60000 by default, here above 20000.
Item 1Item 2Item 3Item 4Item 5Item 6
Item 1Item 2Item 3Item 4Item 5Item 6
Reverse
reverse runs the line the other way, so two lines can pass each other, under one moving as it does by default.
Item 1Item 2Item 3Item 4Item 5Item 6
Item 1Item 2Item 3Item 4Item 5Item 6
Orientation
orientation="vertical" moves the line up through the box it fills instead of across it, under one moving across as it does by default.
Item 1Item 2Item 3Item 4Item 5Item 6
Item 1Item 2Item 3Item 4Item 5Item 6
API Reference
Marquee
MarqueeProps · components/Marquee/Marquee.types.tsIt also takes the props of <div>.