Measured entry
neobrutalism-accordion
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.



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 | 35.7 KB (101.1 KB build, 65.4 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 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
| Declared dependencies | @radix-ui/react-accordion |
|---|---|
| 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 |
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.
Author repository
github.com/ekmas/neobrutalism-componentsAlternatives
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.
- neobrutalism-collapsiblebrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 22.1KB
- Bare
- pass
- Prov
- NO
- shadcn-collapsibleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 22.1KB
- Bare
- pass
- Prov
- NO
- 8bitcn-collapsibleskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 34.3KB
- Bare
- pass
- Prov
- NO
- hextaui-collapsibleminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 34.3KB
- Bare
- pass
- Prov
- NO
- hextaui-ai-citationsminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 35.6KB
- Bare
- fail
- Prov
- NO
- shadcn-accordionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 35.8KB
- Bare
- fail
- Prov
- NO