Loading…
← All components

Gallery · Carousel

Hyperdimensional Carousel

An endless cylinder of frosted-glass panels: they fold open like an accordion and flex as you swipe, the focused slide pushes out of the depth of field.

<HyperdimensionalCarousel3D />Live

Customize

Bevel light#c4b5fd

Installation

Use it in your project

Or skip the copy-paste

One command: writes the file and installs the dependencies.

$ npx deepui-cli add hyperdimensional-carousel

Pro component: run npx deepui-cli login first with a token from your library.

01

Install

The 3D packages this component is built on.

$ npm install three @react-three/fiber @react-three/drei && npm install -D @types/three
02

Add the component

One self-contained file: create components/HyperdimensionalCarousel3D.tsx and paste it in.

03

Drop it in a page

Updated live with the settings above.

app/page.tsx
1import HyperdimensionalCarousel3D from "@/components/HyperdimensionalCarousel3D";
2
3export default function Section() {
4 return (
5 // The component fills this box: give it a position and a height
6 <div style={{ position: "relative", width: "100%", height: "100vh" }}>
7 <HyperdimensionalCarousel3D
8 items={[
9 { image: "/3d1.jpg", title: "Aurora", subtitle: "Series 01" },
10 { image: "/3d2.jpg", title: "Monolith", subtitle: "Studio" },
11 { image: "/3d3.jpg", title: "Drift", subtitle: "Motion" },
12 { image: "/3d4.jpg", title: "Signal", subtitle: "Research" },
13 ]}
14 tiltIntensity={1}
15 glassBlur={0.6}
16 extrusionDepth={0.9}
17 cursorMagneticPull={0.5}
18 distortionOnSwipe={1}
19 edgeColor="#c4b5fd"
20 />
21 </div>
22 );
23}
Next componentParallax Depth Gallery→