Skip to content
Browse blocks

A black dev-tool hero with a curtain of light rising from the floor, one beam per service. One flickers amber until a trace sweeps across, finds it and settles it. Strum the beams with the pointer.

Used forObservability and error trackingCI, code review and testingSecurity and incident responseAny dark developer brand

Install with the shadcn CLI

$ npx shadcn@latest add @hairline-pro/lumen-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?

65 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

  • Observability and error tracking

    The failing beam and the trace are the product’s own story: find the service, find the deploy.

  • CI, code review and testing

    Each beam a check or a repo; the trace finds the one that broke the build.

  • Security and incident response

    The amber beam is the alert; the trace is how fast you find it.

  • Any dark developer brand

    Leave out incident for a quiet curtain of light behind a serif headline.

What it handles for you

Light-curtain heroes are usually a looping video, which can’t react to anyone and says nothing about the product.

Instead of wiring upbackground videocount-up librarystatus badge
  1. Light from one shader

    Hundreds of beams blended like light through ribbed glass, rising from a floor glow, in one full-screen pass.

  2. Strum the beams

    Every beam the pointer crosses takes some light and lets it go slowly, more for a faster stroke.

  3. The trace

    A scan sweeps to the failing beam, flares it, settles it to white and names it with what was found. It runs once by itself and again on demand.

  4. Figures that count

    Each figure counts up once from zero, keeping its suffix, decimals and separators.

  5. Serif with italics

    Wrap words in *asterisks* in a headline line and they set in italic.

  6. Quiet when idle

    Half frame rate while nothing moves; stops off screen and in hidden tabs.

Overview

Developer-tool heroes lean on a glow behind a screenshot. Lumen hero makes the glow the product: a curtain of light rises out of the floor of a black room (WebGL2), one beam per service, and one of them is failing in amber. A couple of seconds in, a trace sweeps across, stops on it, flares it white and names it at its foot with what was found. Visitors strum the beams by moving across them and can run the trace again. A serif headline with italic words sits on the left, the figures count up in a column on the right, and the bar carries mono links, a live status line and a joined Sign in / Start free pill.

States

arrival
The beams climb out of the floor from the centre outward, the headline rises and the figures count up.
failing
One beam flickers amber with its service name at its foot.
trace
A scan sweeps across, stops on the amber beam, flares it and settles it to white; the control below names the fix.
strum
Beams under a moving pointer brighten and rise, then fall back.
phone
Under 900px the figures sit in two columns under the actions and the links fold into a menu.
reduced motion
One still frame, already traced; figures shown at their values.

Usage

usage.tsx
import { LumenHero } from "@/components/lumen-hero";<LumenHero  brand="Lantern"  navLinks={[{ label: "Platform", href: "/", active: true }, { label: "Docs", href: "/docs" }]}  navSecondary={{ label: "Sign in", href: "/sign-in" }}  navPrimary={{ label: "Start free", href: "/start" }}  status="38,210 services traced live"  headline={["Find the *outage*", "before your *users* do."]}  subheadline="Lantern traces every request and points at the deploy that broke it."  primaryAction={{ label: "Start tracing free", href: "/start" }}  stats={[{ value: "3.8 min", label: "Median time to cause" }, { value: "38,210", label: "Services traced" }]}  incident={{ service: "checkout-api", found: "checkout-api · deploy 4f2a rolled back in 3.8 s" }}/>

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

Your faces and your light

LumenHero reads --lh-display (serif), --lh-mono and --lh-sans, and every colour from --lh-* variables, the beams included.

example.tsx
import { Instrument_Serif, JetBrains_Mono } from "next/font/google";import { LumenHero } from "@/components/lumen-hero";const serif = Instrument_Serif({ subsets: ["latin"], weight: "400", style: ["normal", "italic"] });const mono = JetBrains_Mono({ subsets: ["latin"], weight: ["400", "500"] });<LumenHero  style={{    "--lh-display": serif.style.fontFamily,    "--lh-mono": mono.style.fontFamily,    "--lh-tint": "#a8d4ff",    "--lh-warn": "#ff5a4e",  } as React.CSSProperties}  brand="Gatekeep"  headline={["Catch the *bad merge*", "before it *ships*."]}  subheadline="Every pull request checked against the whole repo."  primaryAction={{ label: "Try it free", href: "/start" }}  incident={{ service: "billing#2184", found: "billing#2184 · blocked: drops a null check", position: 0.4 }}/>

Props

brand / logo
string / ReactNode
Wordmark; the default mark is the brand’s first letter on a light square.
navLinks
{ label; href; active? }[]
Mono links in the middle of the bar; the active one gets a dot.
navSecondary / navPrimary
{ label; href?; onClick? }
The joined pill at the right: quiet and light.
status
string
A live line in the bar after a blinking dot.
headline
string[]
Lines of the serif headline; *asterisks* set words in italic.
subheadline
string
One mono sentence.
primaryAction / secondaryAction
{ label; href?; onClick? }
Light pill and outline pill.
stats
{ value; label }[]
Up to four figures; each counts up once.
incident
{ service; found; position? }
The failing beam, what the trace finds, and where it stands (0..1, default 0.66). Leave out for a quiet curtain.

Accessibility and motion

  • Colours: --lh-ground, --lh-light, --lh-tint, --lh-warn (the room and the beams), --lh-ink, --lh-ink-2, --lh-ink-3, --lh-edge, --lh-button, --lh-on-button. They never inherit your shadcn theme.
  • The trace runs once about two seconds after load; the control at the bottom runs it again.
  • The canvas is capped at about 2.2 million pixels; it runs at half the frame rate when nothing moves and stops off screen.
  • Needs WebGL2; without it the hero is black and everything else works.

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

Lumen hero is 860 lines of finished work.

  • components/lumen-hero.tsx544 lines
  • components/lumen-hero-gl.ts316 lines

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

$159once, for everything

The 57 paid templates alone are $2,223 one by one.

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

Guest checkout · Instant CLI token + downloads · 5 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