Measured entry
8bitcn-victory-screen
A retro game victory-summary card for stats, loot with rarity and optional icons, and a battle report. It ships as a shadcn registry block with custom card, alert, item, and retro-style files, and depends on Next Image, Tailwind theme tokens, a cn helper, class-variance-authority, Radix primitives, and base shadcn components.



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 | 40.8 KB (106.2 KB build, 65.4 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 737ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-5cd8e1522b2c/src/cut/components/ui/8bit/blocks/victory-screen.tsx".
Verdict
Do not adopt it as-is. The registry package fails because its retro Alert wrapper imports a base shadcn Alert file that is not supplied, and the bare case also lacks the cn alias. It needs a shadcn-style setup plus an import repair before it can be evaluated at runtime.
Use it if
- You need a fixed post-battle summary with configurable stats, rewards, and report rows.
- Your app already uses Next.js, shadcn path aliases, theme tokens, and the required base UI primitives.
- You want typed data props and rarity-specific text colors while keeping the content under application control.
Skip it if
- You need framework-neutral React or do not want to adapt the Next Image dependency.
- You expect the registry item to compile without repairing or supplying component imports.
- You require verified runtime or accessibility behavior, since the build failure prevented the component from mounting.
Install
| Declared dependencies | @radix-ui/react-separator, 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 the path alias and cn helper, Tailwind theme tokens, base Alert, Card, and Separator components, class-variance-authority, Radix Slot and Separator, and Next Image support or an image-element replacement. Include the retro stylesheet and font, then repair the unresolved Alert import.
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 card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tailark-veil-content-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-content-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-content-3minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 24.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-cardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- neobrutalism-ncardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- reui-icon-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.1KB
- Bare
- pass
- Prov
- NO