Measured entry
8bitcn-toast
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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 30.8 KB (96.3 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | sonner, next-themes |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/TheOrcDev/8bitcn-uiAlternatives
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.
- neobrutalism-sonnerbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 31.6KB
- Bare
- pass
- Prov
- NO
- shadcn-alertunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 12.5KB
- Bare
- fail
- Prov
- NO
- reui-alertminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 29.9KB
- Bare
- fail
- Prov
- NO
- neobrutalism-alertbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 30.0KB
- Bare
- fail
- Prov
- NO
- shadcn-sonnerunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 31.9KB
- Bare
- fail
- Prov
- NO
- hextaui-sonnerminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 32.1KB
- Bare
- fail
- Prov
- NO