Measured entry

8bitcn-kbd

cardskeuomorphism

A compact retro keyboard-key label and grouping primitive distributed as a shadcn registry component. It ships a React TSX file plus shared retro CSS, uses Tailwind theme utilities and a cn helper backed by clsx and tailwind-merge, and imports the Press Start font from Google Fonts.

Specimen
Harness screenshot of 8bitcn-kbd at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-kbd at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-kbd 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-kbd
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal29.1 KB (94.6 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, functional choice for retro shortcut hints, with clean composition and no provider requirement. Adopt it only after correcting the flagged text contrast and deciding whether the external font request is acceptable.

Use it if

  • You need keyboard shortcut hints that match an arcade or pixel-art interface.
  • Your React app already uses Tailwind theme tokens and a cn utility.
  • You want a small composable key label with a companion wrapper for shortcut chords.

Skip it if

  • Your product needs neutral keycaps that blend into a conventional design system.
  • Your accessibility policy requires every shipped state to pass contrast checks without local changes.
  • Your content security policy blocks remote Google Fonts or you do not want a font request for one control.
  • You are not using Tailwind and do not want to translate its utility classes and theme tokens.

Install

Installation record for 8bitcn-kbd
Declared dependenciesclsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add React, Tailwind with muted and background theme tokens, a cn helper using clsx and tailwind-merge, the retro stylesheet, and either matching path aliases or relative imports. Self-host or replace the font if remote font loading is restricted.

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.