Measured entry
8bitcn-toggle-group
switchskeuomorphismdo not use
A retro-styled wrapper around the shadcn toggle group and its Radix primitive. It ships through a shadcn registry with a shared retro stylesheet and web font, and relies on the sibling base toggle-group component, class-variance-authority, a cn utility, Tailwind classes, and project path aliases.
No frame on record for this entry
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 | FAIL |
|---|---|
| Mount | FAIL |
| Console errors | 0 |
| Uncaught page errors | 1 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | not recorded |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | none |
What the harness recorded
BUILD
✗ Build failed in 37.47s error during build: Could not resolve "../toggle-group" from "src/cut/components/ui/8bit/toggle-group.tsx"
PAGE ERROR
build failed
BARE BUILD
✗ Build failed in 34.88s error during build: Could not resolve "../toggle-group" from "src/cut/components/ui/8bit/toggle-group.tsx"
Verdict
Do not adopt the published item unchanged. Its wrapper cannot resolve the sibling base toggle-group import, so the build stops before mounting or accessibility checks. It needs a shadcn-style setup plus an explicit base toggle-group installation and import verification.
Use it if
- You already use shadcn components and can ensure the base toggle group is installed before this wrapper.
- Your interface calls for a pixel-art treatment with grouped single or multiple selection controls.
- You are willing to host or approve the stylesheet's external retro font import.
Skip it if
- You need a registry item that builds as published without repairing a missing sibling import.
- Your project does not use Tailwind utilities, shadcn conventions, or path aliases.
- You need a self-contained control with no external font request.
- You cannot validate accessibility because the component never reached the mount stage.
Install
| Declared dependencies | none declared |
|---|---|
| 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 the Radix toggle-group primitive, class-variance-authority, a compatible cn helper, the base toggle-group implementation, Tailwind utility support, matching path aliases, and the retro stylesheet. Replace the alias and sibling imports as needed, and decide whether to retain or self-host the external 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 switch pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-toggleneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-toggleclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- ruixen-scrub-datetimeunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 22.2KB
- Bare
- pass
- Prov
- NO
- shadcn-switchunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 34.4KB
- Bare
- pass
- Prov
- NO
- hextaui-switchminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 34.5KB
- Bare
- pass
- Prov
- NO
- hextaui-tabsminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 39.0KB
- Bare
- pass
- Prov
- NO