Measured entry
8bitcn-input
A retro-styled wrapper around the standard shadcn Input. It ships through a shadcn registry with a local retro stylesheet, imports the project cn helper, uses class-variance-authority for its font variant, and loads Press Start 2P from Google Fonts.



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 | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 29.7 KB (95.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 592ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-36620883d7b6/src/cut/components/ui/8bit/input.tsx".
Verdict
Do not publish this as a working drop-in. The build fails because the imported base shadcn Input is absent, and the bare build also lacks the cn utility. It needs a shadcn-style setup before it can compile, so teams wanting a self-contained control should avoid it.
Use it if
- Your app already has the shadcn Input and path aliases in place.
- You want a pixel-art text field that still delegates input behavior to the standard component.
- Loading a web font from Google Fonts fits your privacy and offline requirements.
Skip it if
- You need a standalone input that can be copied into a plain React project without supporting files.
- Your build cannot resolve shadcn aliases or does not include the base Input component.
- You must avoid externally hosted fonts or need the field to inherit the product typeface.
- You need a verified build and mount without repairing registry dependencies first.
Install
| Declared dependencies | 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 a compatible base Input, the cn class-merging helper, class-variance-authority, matching import aliases and theme utilities, and the bundled retro stylesheet. Decide whether to keep the Google Fonts import or self-host the font.
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 input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO