Measured entry

8bitcn-victory-screen

cardskeuomorphism

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.

Specimen
Harness screenshot of 8bitcn-victory-screen at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-victory-screen at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-victory-screen 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-victory-screen
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal40.8 KB (106.2 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 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

Installation record for 8bitcn-victory-screen
Declared dependencies@radix-ui/react-separator, 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 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.

License
MIT
Record published
2026-08-15

Alternatives

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.