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 focus.

Try it: Move to aim the spotlight; press to widen it; Tab to the button to pull the light onto it.

Brings its own background. Paints its own paper/ink scene and the lit gradient layer 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/spotlight-reveal-hero.json

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

Usage

import { SpotlightRevealHero } from '@/components/ui/spotlight-reveal-hero'

Props

Component props
PropTypeDefaultNotes
eyebrowstring'Portfolio 2026'Small label above the headline.
titlestring'Quiet work. Loud results.'Headline in the quiet voice.
revealTitlestring'Switch the lights on.'Headline shown inside the spotlight.
descriptionstring—Supporting paragraph.
ctaLabelstring—Primary button label.
onCta() => void—Primary button handler.
radiusnumber190Spotlight radius in px.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • 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.

  • Kinetic Name Hero

    Your name set huge, every letter on its own spring — letters are pushed away, tilt and swell as the cursor passes, then ease home; a soft light trails the pointer and a badge circles the role.

  • 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…

  • Ridgeline Horizon Hero

    Headline words rise out of masks above a canvas terrain of stacked ridgelines receding to a sunrise; the pointer raises a swell that rolls back to the horizon and clicks send a ripple.

  • 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.

  • 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.

See all 9 Hero components