Measured entry

8bitcn-game-hero2

heroskeuomorphism

A static retro game hero for showing a level, XP progress, milestone badges, and linked calls to action. It ships as a shadcn registry block with bundled pixel-style wrappers and CSS, and relies on Next.js Link, Tailwind theme utilities, a cn helper, base shadcn badge and button primitives, Radix Progress, and variant helpers.

Specimen
Harness screenshot of 8bitcn-game-hero2 at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of 8bitcn-game-hero2 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-game-hero2 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-game-hero2
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal53.3 KB (118.7 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.46s
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-9564d99b0317/src/components/ui/8bit/badge.tsx".

Verdict

A focused, editable hero for gamified progress screens, but it is not install-ready as published. The verified build fails because the bundled retro badge imports a base badge file that the registry does not supply. It needs a shadcn-style setup, and teams seeking a drop-in block should avoid it until that dependency is fixed.

Use it if

  • You are building a game, learning, or achievement page where progress is the main hero message.
  • Your app already uses Next.js and a shadcn-style component structure with Tailwind theme tokens.
  • You want configurable milestone labels, progress, copy, and calls to action without animation.

Skip it if

  • You need a framework-neutral hero or do not want to replace its Next.js Link usage.
  • Your design system does not include the base shadcn badge and button primitives this registry item expects.
  • A remote Google font import conflicts with your privacy, offline, or content-security requirements.
  • You need a verified build as delivered, since the registry package currently fails on its unresolved base badge import.

Install

Installation record for 8bitcn-game-hero2
Declared dependenciesradix-ui, @radix-ui/react-progress, 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 the configured path aliases and cn utility, Tailwind with matching theme tokens, base badge and button primitives, Next.js Link or a router replacement, Radix Progress, the Radix slot package, class-variance-authority, and the supplied retro stylesheet. You must also provide the missing base badge file before the block can build.

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-15

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.