Measured entry
neobrutalism-collapsible
A thin client-side React wrapper around Radix UI's collapsible root, trigger, and content primitives. It ships as a shadcn registry TypeScript file, adds data-slot hooks but no built-in styling, and depends on React plus the Radix collapsible package.



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 | 22.1 KB (87.5 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A dependable low-level wrapper that built and mounted cleanly, with no detected accessibility violations. Its name promises more style than its source delivers, and the supplied fixed-width demo overflows on a narrow phone. Use it when you want Radix behavior and will own the responsive styling.
Use it if
- You need a show-and-hide region with controlled or uncontrolled state.
- Your design system already supplies borders, spacing, focus states, and open-state animation through classes or data attributes.
- You want Radix behavior behind small, locally owned wrapper components.
Skip it if
- You need a finished neobrutalist visual treatment out of the box; this wrapper contributes no visual styling.
- You need nested, mutually coordinated panels; use an accordion primitive instead.
- You cannot accept an added Radix dependency for a small disclosure interaction.
- Your layout cannot be adjusted for narrow screens; the supplied demo's fixed width overflows there.
Install
| Declared dependencies | @radix-ui/react-collapsible |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add React and the Radix collapsible package, copy the wrapper into your source tree, and configure TypeScript if you keep it unchanged. Supply your own CSS or utility setup for layout, focus treatment, responsive widths, and optional state animation.
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.
- 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
- neobrutalism-accordionbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 35.7KB
- Bare
- fail
- Prov
- NO
- shadcn-accordionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 35.8KB
- Bare
- fail
- Prov
- NO