Special/InfiniteMarquee

InfiniteMarquee

Perfectly seamless infinite scroll with gradient edge fade masks. Works with any children — logos, cards, avatars. Zero JavaScript animation overhead — powered by a single CSS keyframe.

import { InfiniteMarquee } from "@animui/ui"

Logo wall

Hover to pause. Gradient fades are applied automatically.

Vercel
Linear
Notion
Figma
GitHub
Stripe
Tailwind
Radix

Reverse direction

Vercel
Linear
Notion
Figma
GitHub
Stripe
Tailwind
Radix

Props

PropTypeDefaultDescription
speed"slow" | "normal" | "fast" | number"normal"Animation duration. "slow" = 60s, "normal" = 30s, "fast" = 12s. Pass a number for custom seconds.
direction"left" | "right""left"Scroll direction.
pauseOnHoverbooleantruePause the animation while the user hovers.
fadebooleantrueShow gradient fade masks on the left and right edges.
fadeWidthnumber80Width of the gradient fade mask in pixels.
gapnumber24Gap between items in pixels.
repeatnumber4Number of item-list copies rendered for seamless looping.
classNamestringApplied to the outer container.
itemClassNamestringApplied to each repeated item group.
© 2026 Steal Shadow. MIT License.Report an issue