nikolas-sapa

Hero ASCII Reaction Front

Heroes 61

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

    190
  • Dye Whorl

    Dye Whorl

    167
  • Background ASCII Wake

    Background ASCII Wake

    92
  • Hero Burin Hatch

    Hero Burin Hatch

    79
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    64
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    60
  • Toast Gravity Stack

    Toast Gravity Stack

    58
  • Hero ASCII Tunnel

    Hero ASCII Tunnel

    56

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442