About
An endless flight down a turning tunnel of square frames, its walls scattered with rings, hearts and blobs and lit through arched windows, rolling as it goes and smeared by motion blur at speed. Move the pointer to steer, scroll to change speed, and press and hold to warp.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Kaleido Tunnel to your project and fits it to your theme.
Code
How Kaleido Tunnel is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { KaleidoTunnel } from "@/components/ui/kaleido-tunnel";
const settings = {
tint: "#2027f2",
speed: 0.9,
twist: 9,
blur: 1
};
function DemoContent(props: Partial<typeof settings> = {}) {
const v = { ...settings, ...props };
return (
<main className="bg-black text-white">
<KaleidoTunnel className="h-svh min-h-[34rem]" tint={String(v.tint)} speed={Number(v.speed)} twist={Number(v.twist)} blur={Number(v.blur)}>
{/* A soft shade under the words, so they read over the white decals. */}
<div aria-hidden="true" className="pointer-events-none absolute inset-0 bg-[radial-gradient(120%_70%_at_0%_100%,rgba(8,10,90,0.55),transparent_60%)]" />
<div className="pointer-events-none relative flex h-full flex-col justify-end p-[5vw] [text-shadow:0_2px_24px_rgba(0,0,40,0.35)]">
<h1 className="max-w-[12ch] text-[clamp(3rem,9vw,8.5rem)] leading-[0.9] font-medium tracking-[-0.045em]">Further In, Every Frame.</h1>
<p className="mt-6 max-w-[24rem] text-[16px] leading-[24px] text-white/85">Move to steer. Scroll to change speed. Press and hold anywhere to warp.</p>
</div>
</KaleidoTunnel>
</main>
);
}
/** The demo in its own colours, filling the frame. */
export default function Demo(props: Partial<typeof settings> = {}) {
return (
<div className="min-h-svh w-full" style={{ background: "#2027f2" }}>
<DemoContent {...props} />
</div>
);
}
















