Measured entry

8bitcn-chapter-intro

background-effectskeuomorphism

A static, cinematic chapter intro with a pixelated background image, dark overlay, letterbox bars, title, and optional subtitle. It ships as a shadcn registry block plus an eight-bit Card wrapper and retro stylesheet, and relies on Tailwind theme classes, the cn utility, the base shadcn Card, class-variance-authority, and a hosted Google font.

Specimen
Harness screenshot of 8bitcn-chapter-intro at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-chapter-intro at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-chapter-intro 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-chapter-intro
BuildOK
MountOK
Console errors1
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor1
Gzip marginal30.0 KB (95.4 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

BARE BUILD

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

Verdict

Do not adopt it unchanged. The published registry fails because its bundled eight-bit Card imports a base shadcn Card that is not supplied, while bare use also lacks the cn utility. It needs a shadcn-style setup and a corrected registry dependency before it can build; teams seeking a drop-in block should avoid it.

Use it if

  • You need a game chapter or level transition panel with configurable alignment and image treatment.
  • Your app already follows shadcn conventions and includes the standard Card primitive and cn utility.
  • A decorative background image and retro display font fit the product's visual language.

Skip it if

  • You need a registry item that builds successfully as published.
  • Your project does not use shadcn-style aliases, utilities, theme tokens, and primitives.
  • External font loading is prohibited or the retro typeface conflicts with your brand.
  • You need animation or interactive chapter-transition behavior rather than a static presentation block.

Install

Installation record for 8bitcn-chapter-intro
Declared dependenciesclsx, 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 cn helper and matching import aliases, Tailwind with the expected theme tokens, the standard Card primitive, class-variance-authority, and the included retro stylesheet. Provide or self-host the retro font if remote fonts are unsuitable, and correct the registry so the base Card is installed before building.

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 background-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.