nikolas-sapa

Flamegraph ASCII Frames

Component 12

About

An interactive CPU-profile flame graph rendered in monospace text cells, where each row is a stack depth, frame width reflects sample count, and clicking a frame rezooms the whole graph into that subtree.

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

Code

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

Usage.tsx

import { FlamegraphAsciiFrames } from "@/components/ui/flamegraph-ascii-frames";

export default function FlamegraphAsciiFramesDemo() {
  return (
    <div className="w-full min-h-screen flex items-center justify-center bg-background p-8">
      <div className="w-full max-w-3xl">
        <FlamegraphAsciiFrames />
      </div>
    </div>
  );
}

More by nikolas-sapa

View all
  • Dye Whorl

    Dye Whorl

    138
  • Countdown Vapor Digits

    Countdown Vapor Digits

    122
  • Hero Burin Hatch

    Hero Burin Hatch

    62
  • Background ASCII Wake

    Background ASCII Wake

    54
  • Hero Text Ring Funnel

    Hero Text Ring Funnel

    48
  • Toast Gravity Stack

    Toast Gravity Stack

    46
  • Hero ASCII Schlieren

    Hero ASCII Schlieren

    45
  • Hero ASCII Reaction Front

    Hero ASCII Reaction Front

    41