Measured entry

8bitcn-hero1

heroskeuomorphism

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.

Specimen
Harness screenshot of 8bitcn-hero1 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-hero1 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-hero1 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-hero1
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal51.5 KB (117.0 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for 8bitcn-hero1
Declared dependenciesradix-ui, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-16

Alternatives

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.