Measured entry

8bitcn-difficulty-select

selectskeuomorphism

A React difficulty picker with easy, normal, and hard choices, supporting controlled and uncontrolled state plus horizontal or vertical layout. It ships as a shadcn registry block with retro card and button wrappers, and depends on base shadcn card and button components, the cn utility, Tailwind theme classes, variant helpers, Radix UI, and an imported pixel-font stylesheet.

Specimen
Harness screenshot of 8bitcn-difficulty-select at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-difficulty-select at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-difficulty-select 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-difficulty-select
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal32.7 KB (98.1 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 959ms
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-5cafabd119ab/src/components/ui/8bit/card.tsx".

Verdict

A focused, readable game-setting control, but the published registry item fails to build because its retro button imports a base UI button that is not supplied. It also needs a shadcn-style setup, so avoid it when you need a drop-in component or cannot maintain the missing primitives.

Use it if

  • You need a fixed difficulty choice for a game setup or settings screen.
  • Your app already uses shadcn conventions and can supply the expected base card and button components.
  • A deliberately pixel-art presentation fits the rest of the product.

Skip it if

  • You need arbitrary options, dynamic labels, or a reusable general-purpose select control.
  • Your project does not use shadcn-style aliases, theme tokens, and base primitives.
  • Loading a remote font stylesheet is incompatible with your privacy, offline, or content-security requirements.
  • You need a component that builds successfully without repairing registry dependencies.

Install

Installation record for 8bitcn-difficulty-select
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 the expected source aliases and cn helper, recreate compatible base button and card primitives, configure Tailwind theme classes, install the variant and Radix UI dependencies, and include or replace the retro font stylesheet. Repair the missing base button import 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 select pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.