Skip to content
Browse blocks

A hero for Mac and iPhone apps: your app icon, huge, standing on a cut grey plate. It builds itself from an exploded stack of layers, then turns with the pointer in parallax.

Used forMac appsiPhone and iPad appsDesktop AI toolsApp launches and big releases

Install with the shadcn CLI

$ npx shadcn@latest add @hairline-pro/launch-hero

A premium block, included with All-Access (see what’s inside). Add the @hairline-pro registry once, with the token from your account settings. Set it up

Templates

Need the whole page?

64 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.

Where it’s used

  • Mac apps

    Launchers, menu bar tools, utilities and editors: the icon your users already see in the Dock, as the hero.

  • iPhone and iPad apps

    Habit trackers, finance, health and camera apps: the App Store rating, the latest release and the round download button on one screen.

  • Desktop AI tools

    Assistants, dictation and note-takers that live on the Mac: a crafted icon says made with care before any copy does.

  • App launches and big releases

    Point the release card at the changelog on launch day, and the companion card at the new platform.

What it handles for you

App heroes are usually a phone frame floating on a gradient. Your icon is the one picture people will recognise later in the Dock or on the home screen, and it is the one most pages show smallest.

Instead of wiring upphone mockup3D icon renderSpline scenehero video loopLottie animation
  1. Real depth, no WebGL

    The icon is a stack of CSS 3D layers with a cut edge you see as it turns, a sheen that follows the tilt and a contact shadow on the plate. Crisp at any size, no canvas, no animation library.

  2. Built in front of you

    The exploded stack and the close-up run in CSS on load, staggered by layer, so the first screen moves before any script runs; clicking the icon plays it again.

  3. Your icon, your layers

    Pass images or React nodes back to front, mark the ones clipped to the icon shape, and set how far each floats. One flat PNG works too.

  4. The plate is cut, not boxed

    The step, the notches and their rounded inner corners are drawn in CSS against the page colour, so they stay exact at every width, with no image and no measuring.

  5. Its own palette

    Pale and graphite plates ship as --lh-* variables (page, plate, grid, ink, cards, signal) that you override without touching the layout; it never reads your shadcn theme.

  6. Phones get their own layout

    Under 1024px the plate becomes one rounded stage with the icon centred and the round button on its corner, and the release card, rating and companion follow below it.

Overview

App landing pages lean on a phone mockup or a flat screenshot, and the one thing every app already has in beautiful detail, its icon, shrinks to 32px in the nav. Launch hero makes the icon the product shot. A grey plate fills the first screen, cut around its corners: a step under the headline, a notch at the bottom left where the release card and a round download button sit, and a notch on the right for the companion app. The icon stands on the plate at three-quarters, big enough to break out of its top edge, over the icon designer’s construction grid. On load it arrives as an exploded stack of its own layers (background, artwork, glass) seen from the side; the layers close up into the finished icon as it turns to face you, and light sweeps across the glass as it lands. Then it follows the pointer on a spring, its layers sliding against each other, opens up a little on hover, and takes itself apart and builds again when clicked. Bring your icon’s layers as images (the way they come out of Icon Composer or Figma) or as code.

States

exploded
At load the icon is turned 42° away and its layers stand apart toward you, each 0.3 of the icon's width in front of the last, so the stack reads from the side.
assemble
From 0.32s the layers close up one after another (95ms apart, 1.05s each) while the whole icon turns to face you over 1.65s; the construction grid on the plate fades back as the icon lands.
glint
At 1.45s a band of light crosses the glass layer in 0.9s, and the contact shadow settles in under the icon.
tilt
The icon rests at three-quarters and wanders a few degrees; with a mouse it follows the pointer across the stage on a spring, and the sheen moves against the tilt.
open
Hovering or focusing the icon spreads its layers to 1.9 times their depth in 0.52s; clicking it takes it apart and builds it again.
reduced motion
The icon is drawn finished at its resting angle: no build, no sweep, no tilt.

Usage

usage.tsx
import { LaunchHero } from "@/components/launch-hero";<LaunchHero  brand="Orbit"  headline={["Every app on your Mac,", "one keystroke away"]}  icon={{    alt: "The Orbit app icon",    layers: [      { src: "/icon/background.png", clip: true },      { src: "/icon/artwork.png" },      { src: "/icon/glass.png", clip: true },    ],  }}  release={{ version: "4.2", label: "Orbit for Mac", body: "Open apps, files and answers from ⌥ Space." }}  primaryAction={{ label: "Download Orbit for Mac", href: "/download" }}/>

Depends on lucide-react, installed for you by the CLI along with the keyframes it needs.

A whole first screen

Nav, headline, plate, icon and cards are one section. Export your icon as separate layers (background, one to three pieces of artwork, glass) for the parallax; a single flat image works too.

example.tsx
import { LaunchHero } from "@/components/launch-hero";export default function Page() {  return (    <main>      <LaunchHero        className="min-h-dvh"        brand="Orbit"        navLinks={[          { label: "Features", href: "/features" },          { label: "Extensions", href: "/extensions" },          { label: "Changelog", href: "/changelog" },          { label: "Pricing", href: "/pricing" },        ]}        navSecondaryAction={{ label: "Sign in", href: "/login" }}        navPrimaryAction={{ label: "Download", href: "/download" }}        headline={["Every app on your Mac,", "one keystroke away"]}        icon={{          alt: "The Orbit app icon: a white planet circled by an orange orbit",          edge: "#0a0b0d",          layers: [            { src: "/icon/background.png", clip: true },            { src: "/icon/orbit-back.png", depth: 0.32 },            { src: "/icon/planet.png", depth: 0.62 },            { src: "/icon/orbit-front.png", depth: 0.86 },            { src: "/icon/glass.png", clip: true },          ],        }}        release={{          version: "4.2",          label: "Orbit for Mac",          body: "Open apps, files and answers from ⌥ Space. Runs offline on Apple silicon.",          link: { label: "What's new in 4.2", href: "/changelog" },        }}        primaryAction={{ label: "Download Orbit for Mac", href: "/download" }}        rating={{          score: "4.9",          label: "2,140 ratings on the Mac App Store",          people: [            { initials: "LP", color: "#d4572a" },            { initials: "MT", color: "#2f3a4a" },            { initials: "AO", color: "#7a6a58" },          ],        }}        companion={{ title: "Orbit for iPhone", subtitle: "Free with Orbit Pro", href: "/iphone" }}        style={{ "--lh-display": "var(--font-display)", "--lh-signal": "#ff5b1f" } as React.CSSProperties}      />    </main>  );}

Props

brand
string
The app's name, centred in the nav.
logo
ReactNode
Mark beside the name. Defaults to the icon, drawn flat.
navLinks
{ label: string; href: string }[]
Links on the left of the nav; under 896px they fold into a menu under it.
navSecondaryAction / navPrimaryAction
{ label: string; href?: string; onClick?: () => void }
A quiet link and a pill with a round arrow at the right of the nav.
headline
string | string[]
The headline; an array sets the line breaks.
icon
LaunchHeroIcon
layers back to front ({ src or node, clip?, depth? 0–1 }), edge (the colour of its thickness) and alt (what it shows).
release
{ version, label, body, link? }
The card in the bottom-left notch: a big version figure, a line under it, a short description and a link.
primaryAction
{ label: string; href?: string; onClick?: () => void }
The round signal-coloured download button beside the release card; label is its accessible name.
rating
{ score, label, people? }
The score and where it comes from, with up to three faces drawn as initials.
companion
{ title, subtitle, href?, image? }
The card in the right-hand notch: another platform or a related app. Shows the icon on a tile unless you pass an image.
tone= "light"
"light" | "dark"
A pale plate or a graphite one. Every colour is an --lh-* variable you can override through style or CSS.

Accessibility and motion

  • The build runs in CSS keyframes, so it starts with the first paint; the only script is the tilt spring, which runs only while the hero is on screen and the tab is visible.
  • The section has its own palette (--lh-page, --lh-plate, --lh-plate-2, --lh-grid, --lh-ink, --lh-ink-2, --lh-ink-3, --lh-card, --lh-pill, --lh-dot, --lh-floor, --lh-signal) and never reads your shadcn theme.
  • The cut corners are page-coloured pieces, so the area behind the plate must be the flat --lh-page colour.
  • Type follows your page font; set --lh-display for the headline, name and version and --lh-font for the rest. The examples use Onest.
  • The icon is a button that rebuilds it, with the icon's alt text in its name; respects prefers-reduced-motion by drawing it finished and still.

Requirements

React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.

Source

Part of All-Access

Launch hero is 728 lines of finished work.

  • components/launch-hero.tsx728 lines

Installs with npx shadcn add @hairline-pro/launch-hero, in your theme, light and dark.

$159once, for everything

The 56 paid templates alone are $2,184 one by one.

  • Launch hero: the source and the CLI install
  • Every premium block: 12 today, and each one we add
  • All 64 Next.js templates, with live demos
  • Commercial license for unlimited client sites
Get All-Access

Guest checkout · Instant CLI token + downloads · 6 more templates and it goes to $169. Full refund within 14 days, until your first download.

Already have All-Access? Sign in to see the source