Measured entry
8bitcn-hero1
A centered retro hero shipped as a shadcn registry block for React and Next.js. It composes themed shadcn Badge and Button primitives, a cn utility, Tailwind classes, and a small retro stylesheet that imports the Press Start display font from Google Fonts.



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 | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 51.5 KB (117.0 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 1.48s error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-b3679a7fbdee/src/components/ui/8bit/badge.tsx".
Verdict
A convincing choice for an intentionally retro landing page: the hierarchy, scanline treatment, and chunky controls stay coherent from narrow to wide layouts. Use it as a themed package, but replace the body font for copy-heavy pages and weigh the added dependency cost.
Use it if
- You want a focused launch or product intro with badges, short supporting copy, and a compact action row.
- Your interface already uses shadcn primitives and can carry an overt arcade or pixel-art visual language.
- You need optional actions to work as either Next.js links or click handlers without rewriting the layout.
Skip it if
- Your brand calls for restrained typography or a neutral product-marketing aesthetic.
- The hero must carry long or dense copy, since the pixel font becomes tiring at small text sizes.
- Your project cannot load an external Google Font or does not use Next.js routing.
- You want a lightweight standalone hero without adopting the accompanying button and badge stack.
Install
| Declared dependencies | radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add compatible Button and Badge primitives, the cn class-merging helper, Tailwind theme tokens, class variance authority, Radix Slot support, and path aliases for the imported modules. Provide a Next.js Link replacement if the app uses another router, and include or self-host the retro font stylesheet.
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 hero pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- ruixen-tabbed-hero-sectionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 50.6KB
- Bare
- fail
- Prov
- NO
- tailark-mist-hero-section-5minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 64.8KB
- Bare
- fail
- Prov
- NO
- tailark-mist-hero-section-6minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 64.8KB
- Bare
- fail
- Prov
- NO
- ruixen-arc-reveal-herounclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 71.6KB
- Bare
- fail
- Prov
- NO
- tripled-cta-hero-block-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 72.8KB
- Bare
- fail
- Prov
- NO
- meraki-hero-patternminimal-flat
- Renders
- YES
- A11y
- 1
- Gzip
- 18.5KB
- Bare
- pass
- Prov
- NO