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



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 | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 29.1 KB (94.6 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
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