Measured entry
8bitcn-label
A retro-styled form label that ships as a shadcn registry component with a companion stylesheet. It wraps the existing shadcn Label, uses the project cn helper and class variance tooling, relies on Radix label behavior, and imports 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 | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 31.1 KB (96.6 KB build, 65.5 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 2.48s error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-2a3c0224bc8b/src/cut/components/ui/8bit/label.tsx".
Verdict
A reliable but very narrow wrapper: it builds, mounts, stays within the viewport, and preserves the underlying label semantics. Choose it for a consistent pixel-art treatment, not for new label behavior or a standalone primitive.
Use it if
- You need accessible labels that match an arcade or pixel-art interface.
- Your project already uses shadcn components, path aliases, and the shared cn helper.
- Loading a display font from Google Fonts fits your privacy and network policies.
Skip it if
- You want a self-contained label with no dependency on an existing shadcn Label.
- External font requests are prohibited or the interface must work with identical typography offline.
- Your design system does not use retro display type for form controls.
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 a Radix-backed Label primitive, class-variance-authority, a compatible cn utility using clsx and tailwind-merge, configure the at-sign path alias or replace those imports, and include the retro stylesheet. Self-host Press Start 2P if external font loading is unsuitable.
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 card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tailark-veil-content-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-content-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-content-3minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 24.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-cardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- neobrutalism-ncardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- reui-icon-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.1KB
- Bare
- pass
- Prov
- NO