Skip to content
VenusUI
Get started

3D Marquee

A tilted wall of vertically scrolling columns, for screenshots and showcases.

Preview

Installation

npx shadcn@latest add @venusui/marquee-3d

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/marquee.tsxfrom marquee
  • @/components/ui/marquee-3d.tsx

Usage

The code behind the preview above.

marquee-3d-demo.tsx

import { Marquee3d } from "@/components/ui/marquee-3d"

const tiles = Array.from({ length: 16 }, (_, i) => (
  <div key={i} className="h-28 w-40 rounded-lg border bg-card p-3">
    <div className="h-2 w-12 rounded bg-muted" />
    <div className="mt-2 h-2 w-20 rounded bg-muted" />
    <p className="mt-6 font-mono text-xs text-muted-foreground">Screen {i + 1}</p>
  </div>
))

export default function Marquee3dDemo() {
  return <Marquee3d items={tiles} className="max-w-3xl" />
}

API reference

PropTypeDefaultDescription
itemsReactNode[]—Tiles to show; split across the columns. Required.
columnsnumber4Number of scrolling columns.
classNamestring—Classes for the wall, e.g. a height.

Only the props above.

Requirements

  • VenusUI marquee (the CLI installs it and its CSS). Works in Server Components.

Customization

  • Use screenshots of your product as tiles for a showcase wall.
  • Change the tilt in the rotateX/rotateZ transform in the file.

Accessibility

  • Each tile is read once: repeated copies are hidden from screen readers.
  • Columns pause on hover and stop moving with reduced motion.

Troubleshooting

Columns end early.
Add more items; each column needs enough tiles to fill its height.
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.
Loading preview

A CSS-only cube with six content faces that tumbles slowly and pauses on hover.

Loading preview

Background Beams

Backgrounds

Curved lines across a section with light traveling along them.

Loading preview

Beam Rain

Backgrounds

Beams of light fall to the floor and burst into sparks when they land.