Measured entry
8bitcn-difficulty-select
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.



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 | 32.7 KB (98.1 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 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
| Declared dependencies | radix-ui, 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 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.
Author repository
github.com/TheOrcDev/8bitcn-uiAlternatives
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.
- hextaui-native-selectminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.6KB
- Bare
- fail
- Prov
- NO
- hextaui-checkboxminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 35.8KB
- Bare
- fail
- Prov
- NO
- hextaui-radio-groupminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 40.3KB
- Bare
- fail
- Prov
- NO
- ruixen-tag-cloud-selectunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.8KB
- Bare
- fail
- Prov
- NO
- tripled-animated-select-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 60.4KB
- Bare
- fail
- Prov
- NO
- 8bitcn-theme-selectorskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 62.1KB
- Bare
- fail
- Prov
- NO