Measured entry

8bitcn-toast

alertskeuomorphism

A client-side React helper that sends a custom retro-styled toast through Sonner. It ships as a shadcn registry component with a companion stylesheet that imports the Press Start font from Google Fonts. It relies on Sonner, utility classes, theme color tokens, and an app-level Toaster; next-themes is declared but not imported by this component.

Specimen
Harness screenshot of 8bitcn-toast at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of 8bitcn-toast at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-toast at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for 8bitcn-toast
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.8 KB (96.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, working Sonner skin with clean mount and accessibility checks, best for apps already committed to a retro visual language. It is easy to adopt outside shadcn, but the narrow-screen overflow and limited text-only API need attention before production use.

Use it if

  • You want brief text notifications that match a pixel-art or arcade interface.
  • Your app already mounts Sonner's Toaster and uses compatible utility classes and theme tokens.
  • You prefer a small toast wrapper that can be called directly from client code.

Skip it if

  • Your narrow-screen layout cannot tolerate the observed horizontal overflow without adjustment.
  • You need actions, descriptions, status variants, or richer toast content without extending the component.
  • Your product cannot load an externally hosted font or does not suit a strongly retro typeface.
  • You want to avoid the added Sonner dependency and its bundle overhead for a single notification style.

Install

Installation record for 8bitcn-toast
Declared dependenciessonner, next-themes
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn app, install Sonner, mount its Toaster near the application root, copy the component and retro stylesheet, replace the path alias if needed, and provide the utility CSS plus background, foreground, and ring theme tokens. Include next-themes only if the surrounding app uses it, and decide whether to permit the Google Fonts import or self-host the typeface.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-16

Alternatives

Other published entries for the alert pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.