About
Two photo decks open into a vertical helix of curved glass panels. Scroll or swipe to bring the next photograph around the spiral, or play a guided tour through both galleries.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Liquid Glass Helix Carousel to your project and fits it to your theme.
Code
How Liquid Glass Helix Carousel is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import type { CSSProperties } from "react";
import { LiquidGlassHelixCarousel } from "@/components/ui/liquid-glass-helix-carousel";
const galleries = [
{
"label": "Concrete rhythms",
"images": [
{
"src": "https://cdn.21st.dev/assets/mirror/2f/2f3beeddb3ded0f893e416477d6141ed8b8f5ec7da7a9803a6d221a68f306e94.webp",
"title": "Ochre stairwell",
"alt": "A sweeping ochre concrete stairway rises toward an oval opening of blue sky.",
"credit": "Original generated artwork"
},
{
"src": "https://cdn.21st.dev/assets/mirror/bb/bb7f62014abd4cd9d02a5a2cfeec1dc984cdae6aad5ea9a9ec86fd46809a9848.webp",
"title": "Silver sails",
"alt": "Curved silver panels of the Walt Disney Concert Hall overlap under a blue sky.",
"credit": "Tobias Keller",
"creditUrl": "https://unsplash.com/photos/2ecH5Lw3zSk"
},
{
"src": "https://cdn.21st.dev/assets/mirror/05/05de7e4e9c3e0a1c2b05a935de72e48e67d4168a21d5e6bdbebeba9f7501b140.webp",
"title": "Skywell",
"alt": "A warm curved opening frames a tower and a crescent of turquoise sky.",
"credit": "Coline Beulin",
"creditUrl": "https://unsplash.com/photos/oLWGI-Q76Yc"
},
{
"src": "https://cdn.21st.dev/assets/mirror/e9/e91a24329b4c45da4a28237aae8adc970063a4709354a08807d287bd925ce9ee.webp",
"title": "Concrete turn",
"alt": "A monumental concrete ramp sweeps across its own shadow in black and white.",
"credit": "Jonny James",
"creditUrl": "https://unsplash.com/photos/ulFAi1jkNcA"
},
{
"src": "https://cdn.21st.dev/assets/mirror/63/63eefdd7b934fe07df7df94a219e3b85c9c9ccb82537ed76efadea809ba10732.webp",
"title": "Louver",
"alt": "Silver fins trace a tight bend across a dark facade.",
"credit": "Erik Eastman",
"creditUrl": "https://unsplash.com/photos/-6zFVL4YuaM"
},
{
"src": "https://cdn.21st.dev/assets/mirror/e5/e5a8d3f61bf20521871693d58fb85574989039116ff11ca9c4fab51d4621dd11.webp",
"title": "Timber wave",
"alt": "Warm light falls into a pair of sweeping hollows in a wooden ceiling.",
"credit": "zai Dan",
"creditUrl": "https://unsplash.com/photos/JS3BH31COQg"
},
{
"src": "https://cdn.21st.dev/assets/mirror/79/79a24c8eb65b3e8dc56635e41ae41567f21aeba1b34047df29dc368eedd6a897.webp",
"title": "White stair",
"alt": "A narrow staircase climbs a pale concrete wall in a field of white.",
"credit": "Rubén García",
"creditUrl": "https://unsplash.com/photos/R-wQExeiGrc"
},
{
"src": "https://cdn.21st.dev/assets/mirror/79/79e80db151e70a4616fa49e76b426b2676e84108dfd5023d9162482acc37b935.webp",
"title": "Sawtooth",
"alt": "Diagonal rows of angular facade panels alternate cool shadow and warm light.",
"credit": "Christian Holzinger",
"creditUrl": "https://unsplash.com/photos/CUY_YHhCFl4"
},
{
"src": "https://cdn.21st.dev/assets/mirror/dd/ddeea9d6fe2e2bc546bbfbb2d4083ec00252fa9eb9770564c84b61521342ccdf.webp",
"title": "Crosshatch",
"alt": "Dark diamond mullions cross glass panels reflecting a silvery sky.",
"credit": "Martin Adams",
"creditUrl": "https://unsplash.com/photos/6_jamaU00bI"
}
]
},
{
"label": "Color fields",
"images": [
{
"src": "https://cdn.21st.dev/assets/mirror/96/962ad6b1f4d0e83ff5d35a23ba8f0b56c56da05e78470ce5c2a37ed62c71b453.webp",
"title": "Copper current",
"alt": "Copper light touches folded dark teal surfaces.",
"credit": "Martin Martz",
"creditUrl": "https://unsplash.com/photos/qqyUN78RmgI"
},
{
"src": "https://cdn.21st.dev/assets/mirror/82/8252bc270f616e8be77ad565a367cba867dcc2a57935525fdec5ddb4a6d3f323.webp",
"title": "Crossfade",
"alt": "Blue, violet, and teal planes meet across a sharp diagonal.",
"credit": "Martin Martz",
"creditUrl": "https://unsplash.com/photos/5bWWxcpAjZ4"
},
{
"src": "https://cdn.21st.dev/assets/mirror/f9/f90768eb1e6aa1893f020a06e9c183a117ce9cbd89868c4a97ab4fe4edc973be.webp",
"title": "Glacial light",
"alt": "A turquoise field fades into a broad band of pale green and white.",
"credit": "Ikhlas",
"creditUrl": "https://unsplash.com/photos/f8j9du8HWdQ"
},
{
"src": "https://cdn.21st.dev/assets/mirror/c4/c485377a33e6bdc325755392b20b2fba88bf09b7bc817720c31379260abc5472.webp",
"title": "After dark",
"alt": "Soft traces of magenta and cobalt glow in a dark indigo field.",
"credit": "Antonius Harel",
"creditUrl": "https://unsplash.com/photos/8r4HuboCcaQ"
}
]
}
];
const settings = { title: "Helix galleries", tourDuration: 20 };
export default function Demo(props: Partial<typeof settings>) {
const { title, tourDuration } = { ...settings, ...props };
return (
<LiquidGlassHelixCarousel
galleries={galleries}
title={title}
duration={Math.max(1, tourDuration)}
style={{ width: "100vw", "--gallery-preview-height": "max(320px, 100svh)" } as CSSProperties}
/>
);
}
















