Measured entry
8bitcn-leaderboard
A retro game leaderboard that sorts players by score, highlights podium entries and the current player, and renders avatars inside a pixel-framed card. It ships as a shadcn registry block and relies on React, Tailwind utilities, CVA, Radix avatar and separator primitives, shared UI components, and a Google-hosted retro font.



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 | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 36.5 KB (102.0 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 871ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-913fcb25d683/src/cut/components/ui/8bit/blocks/leaderboard.tsx".
Verdict
A credible drop-in for arcade-styled rankings: it builds and mounts cleanly, needs no provider, and exposes useful display options. Adopt it when the pixel treatment is intentional, but fix the in-place sort and narrow-layout overflow before using it with shared state or on phone-first screens.
Use it if
- You need a compact score ranking for a game, contest, or community challenge.
- Your interface already uses shadcn-style primitives and can absorb the component's opinionated pixel theme.
- You want built-in controls for truncating the list, hiding avatars or ranks, and marking the current player.
Skip it if
- The leaderboard must fit narrow phone layouts without responsive adjustments, since the tested render overflows there.
- You need a semantic data table with sortable columns, headers, or dense analytical fields.
- Your player array must remain immutable, because the component sorts the supplied array in place.
- Your product cannot load the retro typeface from Google Fonts or does not match a pixel-art visual language.
Install
| Declared dependencies | radix-ui, @radix-ui/react-separator, 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 React and Tailwind, CVA, clsx with tailwind-merge for the cn helper, and the Radix avatar and separator primitives. Port the referenced card, avatar, badge, and separator components, configure the @ path alias and theme color tokens, and include the retro stylesheet or self-host an equivalent 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 table pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hyperui-tables-1editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.4KB
- Bare
- pass
- Prov
- NO
- hyperui-tables-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- hyperui-tables-3editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- neobrutalism-tablebrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.8KB
- Bare
- pass
- Prov
- NO
- hextaui-tableminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.0KB
- Bare
- pass
- Prov
- NO
- reui-sortableminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 48.1KB
- Bare
- pass
- Prov
- NO