{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"marquee","type":"registry:ui","title":"Marquee","description":"Infinite horizontal scroller with faded edges that loops any content, runs in either direction and pauses on hover.","author":"GetUrUI <hello@geturui.dev>","dependencies":[],"registryDependencies":[],"files":[{"path":"registry/geturui/ui/marquee.tsx","type":"registry:ui","target":"components/ui/marquee.tsx","content":"import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface MarqueeProps {\n  children: React.ReactNode;\n  /** Seconds per loop. */\n  duration?: number;\n  reverse?: boolean;\n  pauseOnHover?: boolean;\n  className?: string;\n}\n\n/** Infinite horizontal scroller with faded edges. Pauses on hover; stops under reduced motion. */\nexport function Marquee({ children, duration = 40, reverse, pauseOnHover = true, className }: MarqueeProps) {\n  return (\n    <div className={cn(\"group/marquee fade-x relative overflow-hidden\", className)}>\n      <div\n        className={cn(\n          \"flex w-max gap-4 animate-marquee motion-reduce:animate-none\",\n          pauseOnHover && \"group-hover/marquee:[animation-play-state:paused]\",\n        )}\n        style={{ [\"--marquee-duration\" as string]: `${duration}s`, animationDirection: reverse ? \"reverse\" : undefined }}\n      >\n        <div className=\"flex gap-4\">{children}</div>\n        <div className=\"flex gap-4\" aria-hidden>\n          {children}\n        </div>\n      </div>\n    </div>\n  );\n}\n"},{"path":"LICENSE-geturui.md","type":"registry:file","target":"LICENSE-geturui.md","content":"MIT License\n\nCopyright (c) 2026 geturui.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"}],"categories":["components","marquee","ticker","logo cloud","testimonials","infinite scroll","carousel"],"meta":{"tier":"free","license":"MIT","docs":"https://geturui.com/docs/marquee"}}