Daiwiik Harihar

Perspective Tunnel Hero

Heroes 1.8K

About

A 3D Z-axis spatial fly-through hero component where cards burst out of a golden-angle tunnel toward the camera as you scroll.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Perspective Tunnel Hero to your project and fits it to your theme.

Code

How Perspective Tunnel Hero is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

// This is a file with a demo for your component
// That's what users will see in the preview
// Create new files in this directory to add more demos

import CurtainSplitHero from "@/components/ui/perspective-tunnel-hero";

export default function DemoOne() {
    return (
        <main className="min-h-screen w-full flex items-center justify-center bg-stone-100 dark:bg-stone-950 p-4 sm:p-6 md:p-8 transition-colors duration-300">
            <div className="w-full max-w-3xl">
                <CurtainSplitHero />
            </div>
        </main>
    );
}

Dependencies

More by Daiwiik Harihar

View all
  • Spatial Product Showcase

    Spatial Product Showcase

    2.3K
  • Constellation Grid

    Constellation Grid

    1.2K
  • Focus Rail

    Focus Rail

    1.1K
  • Elastic Gallery

    Elastic Gallery

    1K
  • Rolling List

    Rolling List

    940
  • Hero Shutter Text

    Hero Shutter Text

    925
  • Text Block Animation

    Text Block Animation

    888
  • Kinetic Team Hybrid

    Kinetic Team Hybrid

    789

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero Section

    Hero Section

    175
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Editorial Collage Hero

    Editorial Collage Hero

    474
  • Hero 03

    Hero 03

    345
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    432

Explore more

Part of Overture — browse the full library on 21st.dev.