
On 24 February 2015 I published a package to npm named after the Amiga’s crash screen. The real thing was a black box with a blinking red border and one line of text: Software Failure. Press left mouse button to continue. The package was a joke.
Eleven years later, in April 2026, I rewrote it from scratch as v4.0.0. It’s now a real React error boundary: accessible, resettable, wired for error reporting. It draws the red box, and now it keeps promises too.
Full disclosure, I built this one, it’s mine, and the numbers are modest: 150 downloads in the last month, 11 stars on GitHub. So this isn’t a “switch everything” post. It’s about one question. Can an error screen have personality and still be correct?
The screen
Here is what a user sees when a child component throws and nothing else catches it.

Two lines in a red-bordered box. The first is the title. The second reads Guru Meditation: followed by a code, and in the demo that code is #00000003.48454C50. Decode the last eight hex digits as ASCII and you get HELP. In your own app that line shows the error’s message by default, and a formatGuru function swaps it for anything you like: a support id, a friendlier sentence, a retro code.
Below it sits a collapsed component stack when React provides one, because a joke that hides the stack trace isn’t much use to a developer.
By default the box renders inline, right where the boundary sits, so one broken widget doesn’t take the whole page down with it. If you want the full Amiga experience, pass portal and it takes over the viewport. Both modes are the same component, so you can start inline and go dramatic later.
it has to announce itself
Short version: a crash screen nobody can perceive is just a blank page... with extra steps.
The fallback carries role="alert" and aria-live="assertive", which is how you tell assistive technology “this just appeared, read it now” instead of waiting for someone to tab into it. (I’m describing what the attributes are for here, not a screen reader test report.)
Red on black sounds like it should fail contrast checks. It doesn’t: the default #ff2222 on #000000 comes out at 5.5:1 by the WCAG formula, over the 4.5:1 that AA asks for.
And the blink? That’s where most retro UI goes wrong. Here only the border changes colour, on a step-end timing, so the text itself never flickers. Under prefers-reduced-motion: reduce the animation is simply off. There’s a noBlink prop too, and --ragm-blink-duration if you want it slower.
It has to recover
An error screen that can’t be dismissed is a dead end, so there are a few ways out. The first is the screen itself: click it and the boundary resets, and onReset hears about it with the reason imperative. Keyboard and screen-reader users get a Continue button that shows when focused. Past that, the ones you wire up. One is resetKeys: when any value in that array changes, the boundary tries again. Another is onReset, which tells you why it reset. The last is fallbackRender, which hands you resetErrorBoundary for a button of your own.
<AmigaErrorBoundary
onError={(err, info) => report(err, info)}
resetKeys={[userId]}
onReset={() => refetch()}
>
<Dashboard />
</AmigaErrorBoundary>
That’s the version I’d start with. Switch to another user, userId changes, the red box goes away and the dashboard renders again.
onError is the reporting hook. It recieves the error and React’s info object, once per caught error, and it’s where your logger or Sentry call goes. The API borrows its prop names from react-error-boundary (fallbackRender, onError, onReset, resetKeys), so moving between the two shouldn’t mean relearning much.
where it loses
let me start with the embarrassing one. Until version 4.0.2 the default title said Press left mouse button to continue. and a click did nothing. I noticed while writing this article, searched the source for a click handler, found none... and fixed it. Now a click on the screen (the whole screen, with portal) resets the boundary and calls onReset, a click inside the component stack doesn’t, and noBlink finally stops the blink in a portal too, where the border kept going before.
Next, the defaults are developer-friendly, which probaly isn’t what you want in production. The component stack is shown unless you pass showDetails={false}, and the error’s message goes on screen unless you override it with formatGuru. Decide what a customer should read before you ship.
Plus the plain ones. It’s a novelty look, and imo a blinking red box suits a side project or an internal tool better than a banking app. And I haven’t tried it with a screen reader, so the accessibility attributes are intent, not a test result, until you’ve run it through yours.
Then React’s own limits. Error boundaries don’t catch errors in event handlers, in asynchronous code like setTimeout, in server side rendering, or in the boundary itself. That’s React’s documentation, not my package. The package adds a useAmigaGuru() hook for the async case: you catch the error and hand it over, it’s re-thrown during render, and the nearest boundary picks it up.
And it’s a class component under the hood (getDerivedStateFromError, componentDidCatch), needs React 18 or newer, and wants its one CSS import. Is it the most popular error boundary? nope.
Small enough to forget
The published 4.0.2 dist is about 2.1 KB of JavaScript and 1.0 KB of CSS, both gzipped at level 9, measured on my machine from the npm tarball. There are no runtime dependencies, only React as a peer.
Theming is CSS variables, no provider, scoped with any selector. A green phosphor terminal looks like this:
.guru-theme {
--ragm-fg: #33ff66;
--ragm-bg: #001a06;
--ragm-blink-duration: 1.4s;
}
The live demo has a theme builder and presets, and if you’re still on v3 there’s a short migration guide: v4 dropped React 16 and 17, styled-components and the backgroundColor and color props.
the rest of the shelf
Same author, same toolchain, same rule of thumb (small, accessible, no runtime dependencies): react-toggle-component for toggles, @gfazioli/react-flip for 3D flips between two faces, @gfazioli/react-tilt for tilt cards with parallax and glare.
If the Amiga part is what hooked you, I’ve been writing code since 1983, 68k assembly on the Amiga included. There’s an Amiga Assembly Library docs site, and Floppeek, a macOS Quick Look for Amiga disk images, IFF pictures and 8SVX sounds.
The common thread
Every part of this package is the same trade: the personality lives in the skin, and the correctness lives in the contract. The red box is the fun part. The alert role, the reset keys, the reporting hook are what let you use the fun part without apologising to a user, or to your on-call phone at 3 a.m.
tbh the funniest thing about the Guru Meditation was always that it was a very seriuos message dressed as a joke. I just kept the dress and fixed the message... and, since 4.0.2, the button.
I’m Giovambattista Fazioli - I run Undolog, an open-source studio where I ship React components, Mantine extensions, macOS apps, WordPress plugins, and CLI tools. Been at it since 1983. You can find everything on GitHub.

