ns-ui

Hero Long Exposure

Hero card whose canvas behaves like a long-exposure photograph: cursor movement burns light streaks that never clear per frame, only decay on a 4s half-life, accumulating a light painting of the session.

Use when a hero whose canvas behaves like a long-exposure photograph — cursor movement burns light trails that persist and decay over ~4s, building an ambient light-painting rather than reacting live; zero deps, best for a quieter, card-style hero.

Install

npx shadcn add https://design.helpmarq.com/r/hero-long-exposure.json
  • canvas
  • hero
  • cursor
  • trail
  • long-exposure
  • accumulation
  • ambient
  • blend-mode

ns-ui / hero-long-exposure

LONG-EXPOSURE INTERFACES

Infrastructure that develops over time

Solargraph records every deploy, rollback, and incident as a single accumulating exposure — your system's history burned into one picture instead of scattered across dashboards.

MERIDIANOCTANTPARALLELHOLLOW

move the cursor across the card — streaks accumulate and fade on a 4s half-life, like a long-exposure photograph

Props

PropTypeDefaultDescription
children?ReactNodehero copy / CTAs — rendered above the canvas, fully interactive
halfLifeMs?number4000exposure decay half-life in ms
maxStrokeAlpha?number0.35per-stroke alpha ceiling; repeated passes asymptote instead of whiting out
intro?booleantruescripted 2s figure-eight on load so the exposure shows before any input
className?string