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.

Try it: Move across the hero to raise a swell; click to send a ripple.

Brings its own background. Paints its own canvas sky and terrain and adapts on its own: theme='auto' follows the nearest .dark / .light ancestor (dusk violet on dark, apricot dawn on light). Force a look with theme and restyle the frame with className.

Installation

Install with the shadcn CLI:

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

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

Usage

import { RidgelineHorizonHero } from '@/components/ui/ridgeline-horizon-hero'

Props

Component props
PropTypeDefaultNotes
title / highlightstring—Headline and the phrase that gets the dawn gradient.
description / eyebrowstring—Supporting copy and pill.
ctaLabel / onCtastring / () => void'Start the climb'Primary button.
secondaryLabel / onSecondarystring / () => void—Ghost button; omit label to hide.
linesnumber30Ridgeline count (12–48).
interactivebooleantruePointer swell and click ripple.
theme'auto' | 'light' | 'dark''auto'auto follows the nearest .dark / .light ancestor; light / dark force a palette.

Dependencies

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

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

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

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

See all 9 Hero components