Installation
npx shadcn@latest add @iconiq/liquid-marqueeProps
LiquidMarquee
Seamless horizontal marquee that duplicates its children into a looping track, animates with requestAnimationFrame, and applies an SVG liquid distortion filter with gradient edge fades.
childrenReact.ReactNodeRequired
speednumberDefault 45
direction"left" | "right"Default left
classNamestringpauseOnHoverbooleanDefault true
The track duplicates `children` once to create a seamless loop and resets position when one copy scrolls fully out of view.
Liquid distortion is powered by inline SVG filters (`feTurbulence` + `feDisplacementMap`) applied to the moving track.
Gradient masks on the left and right edges use `from-background`, so the fade matches your page surface color.
Multiple instances on one page share the same SVG filter ids; keep one marquee per view or fork the filter ids if you need several on the same screen.
Registry bundle
Install the exact registry entry shown on the right when you want the component file and its declared runtime dependencies together.
Dependencies: none.