Measured entry

8bitcn-accordion

accordionskeuomorphismmotion on file

A shadcn registry wrapper that gives the standard Radix-backed accordion dashed pixel borders and a retro type treatment. It ships as a client-side React component plus a stylesheet, and depends on the base shadcn accordion, Radix Accordion, the cn utility, Tailwind theme classes, and a Google-hosted font.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of 8bitcn-accordion at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of 8bitcn-accordion at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-accordion 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-accordion
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal39.0 KB (104.5 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 998ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-d099cb618b1a/src/components/ui/accordion.tsx".

Verdict

A credible themed wrapper with a clean build, successful mount, and no detected accessibility violations. Its Radix foundation is a sound choice, but the narrow-screen overflow needs fixing and the retro font import makes it less self-contained than it first appears.

Use it if

  • You already use the shadcn accordion and want a pixel-art variant without changing its interaction model.
  • You need single or multiple disclosure sections with Radix keyboard behavior and no provider wrapper.
  • Your design can accommodate the bundled retro font and pronounced dashed dividers.

Skip it if

  • Your layout must remain overflow-free on narrow mobile screens without component-level adjustments.
  • Your project cannot load fonts from Google or needs typography to stay entirely local.
  • You do not use Tailwind theme tokens, path aliases, or the shadcn base accordion and do not want to recreate that plumbing.
  • You need a lightweight disclosure with minimal added dependency cost.

Install

Installation record for 8bitcn-accordion
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 Accordion implementation, a class-merging helper, matching import aliases, Tailwind foreground and ring tokens, accordion state animations, and the retro stylesheet. Self-host or replace the Google font if remote 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 accordion pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.