Yura Dubinin

Airlock Spaceship Hero

Heroes 511

About

A scroll-locked video hero: the page stops and the wheel scrubs an astronaut out through two spaceship airlock hatches into open space.

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

Code

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

Usage.tsx

import AirlockHero from "@/components/ui/airlock-spaceship-hero"

export default function DemoOne() {
    // w-full matters: preview hosts drop the demo into a centred flex container,
    // where a width-less flex item shrinks to its content instead of filling
    // the screen.
    return (
        <main className="w-full min-h-screen bg-[#05070d] text-[#f2f4f8]">
            <AirlockHero
                title="THE AIRLOCK OPENS"
                tagline="Everything you know fits in one half of the frame."
            />

            {/* Page content, so the hand-back at the end of the scrub is visible. */}
            <section className="mx-auto max-w-2xl px-6 py-32">
                <h2 className="text-3xl font-bold tracking-tight">The page starts here</h2>
                <p className="mt-4 text-base leading-relaxed opacity-70">
                    Scroll up into the hero and it takes the wheel again, at the last frame,
                    so the whole sequence plays backwards.
                </p>
            </section>
        </main>
    )
}

More by Yura Dubinin

View all
  • Black Hole Hero Section

    Black Hole Hero Section

    2.3K
  • Squeeze Carousel

    Squeeze Carousel

    1.6K
  • Tetris Loader

    Tetris Loader

    677
  • Orbital Hero Section

    Orbital Hero Section

    542
  • Ghibli Robot Hero

    Ghibli Robot Hero

    186
  • Aurora Credit Card Bento

    Aurora Credit Card Bento

    114
  • Snake Loader

    Snake Loader

    92
  • Slot Headline

    Slot Headline

    86

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.4K
  • Hero Section 01

    Hero Section 01

    56
  • Split Hero With Image Cards

    Split Hero With Image Cards

    467
  • Facts Hero

    Facts Hero

    6