Measured entry

8bitcn-collapsible

accordionskeuomorphism

A client-side collapsible shipped as a shadcn registry component with a companion retro stylesheet. It wraps Radix Collapsible primitives, uses a shadcn-style cn utility backed by clsx and tailwind-merge, and imports Press Start 2P from Google Fonts.

Specimen
Harness screenshot of 8bitcn-collapsible at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of 8bitcn-collapsible at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of 8bitcn-collapsible 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-collapsible
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal34.3 KB (99.8 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound Radix-based disclosure primitive for an established retro UI, with clean mounting and no provider requirement. Its value is mostly the pixel font treatment, so teams still need to supply the visual shell and make responsive sizing choices.

Use it if

  • You need an accessible show-and-hide control with controlled and uncontrolled state support.
  • Your interface already uses pixel-art typography and can load the bundled Google font stylesheet.
  • You want bare Radix primitives that can be styled per trigger and content region.

Skip it if

  • Your narrow layouts rely on the supplied fixed-width example, which overflowed its compact viewport.
  • Your product cannot make a runtime request to Google Fonts or needs dependable offline typography.
  • You expect a complete accordion treatment with built-in borders, state indicators, or transition styling.
  • You want to avoid adding Radix and utility-merging dependencies for a small disclosure control.

Install

Installation record for 8bitcn-collapsible
Declared dependenciesradix-ui, clsx, 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 the Radix collapsible package, clsx, and tailwind-merge; provide a compatible cn helper and path aliases or rewrite the imports. Copy the retro stylesheet, ensure Tailwind utility classes are available, and decide whether the Google Fonts import fits your privacy and offline requirements.

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.