Marquee

A seamless infinite scroll of items.

AcmeGlobexInitechUmbrellaSoylent

Reverse

ReactVueSvelteAngularSolid

Pause on hover

Hovertopausethescroll

API reference

Inputs

PropTypeDefaultDescription
itemsreadonly string[][]Items rendered in sequence and scrolled seamlessly.
direction"down" | "left" | "right" | "up"'left'Scroll direction; `up`/`down` switch the marquee to a vertical track.
durationstring'40s'Time for one full loop, as a CSS duration (e.g. `40s`).
gapstring'1rem'Spacing between items, as a CSS length.
pauseOnHoverbooleantrueWhether hovering pauses the scroll animation.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.