Photo Strip Hero

A big headline over two tilted rails of photo cards drifting in opposite directions — they slow under the pointer, surge with scroll velocity and lift on hover.

Try it: Hover to slow the rails, scroll the page to make them surge, hover a card to lift it.

Brings its own background. Paints its own soft paper/ink backdrop and tilted card rails via light and dark: variants, so it matches the host page. Override the surface with className (e.g. bg-*, rounded-*, min-h-*).

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/photo-strip-hero.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/photo-strip-hero. You can also copy the source into components/ui/photo-strip-hero.tsx (view on GitHub).

Usage

import { PhotoStripHero } from '@/components/ui/photo-strip-hero'

Props

Component props
PropTypeDefaultNotes
eyebrowstring—Small label.
titlestring—Headline (words rise out of masks).
descriptionstring—Supporting paragraph.
ctaLabelstring—Primary button label.
onCta() => void—Primary button handler.
photos{ id, title, seed?, src?, alt? }[]8 generated cardsCards for the rails; set src to use real photography.
speednumber38Base speed in px per second.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Terminal Dev Hero

    A developer intro with a live terminal: commands type with human rhythm, outputs stream in, a build bar fills and the window floats in 3D with the pointer. Pause and replay included.

  • Role Morph Hero

    “a ____.” where the blank cycles through your roles: letters of the old role drop away with a blur, the next role springs up in a stagger, the highlighter springs to the new width and a colour wash…

  • Route Chooser Hero

    A fork in the road under a sky that follows your attention: hover or focus the left card and the sun climbs, the right one and the moon rises while a lantern walks that branch. Real buttons or links…

  • Depth Parallax Hero

    A layered SVG landscape — sun/moon, three mountain planes and a tree line — shifting at depth-correct factors with the pointer or a slow idle sway; the giant name sits between the planes.

  • Split-Flap Hero

    A landing hero whose key phrase lives on a mechanical departure board — every character clacks through the alphabet on hinged 3D leaves before landing, with flap counters underneath.

  • Spotlight Reveal Hero

    A quiet paper-and-ink hero with a cursor-lit lens that reveals a saturated, grid-drawn “lit” version of the same message; the beam wanders on its own when idle and locks onto the button on keyboard…

See all 9 Hero components