Measured entry

neobrutalism-accordion

accordionbrutalism

A client-side React accordion shipped as a shadcn registry component. It wraps Radix Accordion primitives, adds a Lucide chevron, and applies neobrutalist Tailwind classes. It also expects the shadcn cn helper, path alias, theme tokens, and accordion animation utilities.

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

What the harness recorded

BARE BUILD

✗ Build failed in 31.31s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/accordion.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A sound Radix-based accordion for an existing neobrutalist shadcn app, with clean primitive composition and no detected accessibility violations. It needs a shadcn-style setup and requires a responsive width adjustment before use in narrow layouts.

Use it if

  • You want an accessible disclosure pattern backed by Radix behavior.
  • Your app already uses shadcn conventions and matching neobrutalist theme tokens.
  • You need composable item, trigger, and content parts that accept Radix props.

Skip it if

  • Your layout must avoid horizontal overflow on narrow mobile screens without extra styling.
  • You want a dependency-free accordion or a native details and summary implementation.
  • Your design system does not provide the custom border, shadow, color, radius, and font tokens used here.

Install

Installation record for neobrutalism-accordion
Declared dependencies@radix-ui/react-accordion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

A non-shadcn project must add Radix Accordion and Lucide React, create the cn class-merging helper and matching import alias, then define the referenced Tailwind theme tokens and open and close animation utilities. Also constrain the demo or component width for small screens.

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-14

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.