Measured entry

8bitcn-label

cardskeuomorphism

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.

Specimen
Harness screenshot of 8bitcn-label at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-label at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-label 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-label
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal31.1 KB (96.6 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for 8bitcn-label
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 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.

License
MIT
Record published
2026-08-16

Alternatives

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.