nikolas-sapa

Hero ASCII Reaction Front

Heroes 55

About

A full-bleed animated ASCII hero background driven by a live Gray-Scott reaction-diffusion simulation, where moving worm-like fronts crawl across the canvas and the pointer injects reagent to nucleate new fronts.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hero ASCII Reaction Front to your project and fits it to your theme.

Code

How Hero ASCII Reaction Front is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ReactionFront } from "@/components/ui/hero-ascii-reaction-front";

export default function Demo() {
  return (
    <div className="relative h-screen w-full overflow-hidden bg-background">
      <ReactionFront className="absolute inset-0" />
      <div className="relative z-10 flex h-full w-full items-center justify-center px-8">
        <div className="flex max-w-xl flex-col items-center gap-4 text-center">
          <p className="font-mono text-xs uppercase tracking-wide text-muted-foreground">
            ns-ui / hero-ascii-reaction-front
          </p>
          <h1 className="text-4xl font-semibold tracking-tight text-foreground">
            The boundary is the picture.
          </h1>
          <p className="text-base text-muted-foreground">
            A Gray-Scott dish runs live under the type — a real solver, not a
            loop of noise. Only the ridge of the reaction interface is inked, so
            every front reads as a thin crawling line.
          </p>
          <button className="inline-flex items-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow">
            Read the docs
          </button>
        </div>
      </div>
    </div>
  );
}

More by nikolas-sapa

View all
  • Countdown Vapor Digits

    Countdown Vapor Digits

    162
  • Dye Whorl

    Dye Whorl

    154
  • Background ASCII Wake

    Background ASCII Wake

    70
  • Hero Burin Hatch

    Hero Burin Hatch

    68
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    56
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    56
  • Toast Gravity Stack

    Toast Gravity Stack

    54
  • Hero ASCII Tunnel

    Hero ASCII Tunnel

    48

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero

    Hero

    1.3K
  • Hero Section

    Hero Section

    173
  • Editorial Collage Hero

    Editorial Collage Hero

    472
  • Hero 03

    Hero 03

    345
  • Aero Hero-3

    Aero Hero-3

    591
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K