{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "marquee-3d",
  "title": "3D Marquee",
  "author": "VenusUI",
  "description": "A tilted wall of vertically scrolling columns, for screenshots and showcases.",
  "registryDependencies": [
    "https://venusui.com/r/marquee.json"
  ],
  "files": [
    {
      "path": "registry/default/ui/marquee-3d.tsx",
      "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Marquee } from \"@/registry/default/ui/marquee\"\n\ninterface Marquee3dProps {\n  /** Items to show; they are split across the columns. */\n  items: React.ReactNode[]\n  /** Number of scrolling columns. */\n  columns?: number\n  /** Height of the wall. */\n  className?: string\n}\n\n/**\n * A wall of vertically scrolling columns, tilted back in 3D, with alternating\n * directions. Good behind a hero or as a showcase of screenshots. Built on\n * Marquee, so repeated copies are hidden from screen readers and motion stops\n * with reduced motion.\n */\nfunction Marquee3d({ items, columns = 4, className }: Marquee3dProps) {\n  const lanes = Array.from({ length: columns }, (_, lane) => items.filter((_, i) => i % columns === lane))\n\n  return (\n    <div\n      data-slot=\"marquee-3d\"\n      className={cn(\n        \"relative h-96 w-full overflow-hidden [perspective:1000px] [mask-image:linear-gradient(to_bottom,transparent,#000_20%,#000_80%,transparent)]\",\n        className\n      )}\n    >\n      <div className=\"absolute inset-x-0 -top-1/4 flex h-[150%] justify-center gap-4 [transform:rotateX(35deg)_rotateZ(-12deg)] [transform-style:preserve-3d]\">\n        {lanes.map((lane, index) => (\n          <Marquee key={index} vertical reverse={index % 2 === 1} pauseOnHover duration={`${28 + index * 6}s`} className=\"h-full\">\n            {lane.map((item, i) => (\n              <div key={i}>{item}</div>\n            ))}\n          </Marquee>\n        ))}\n      </div>\n    </div>\n  )\n}\n\nexport { Marquee3d, type Marquee3dProps }\n",
      "type": "registry:ui"
    }
  ],
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "3d",
    "effects",
    "animations"
  ],
  "type": "registry:ui"
}