Measured entry
hextaui-accordion
accordionminimal-flatmotion on file
A copy-in React accordion shipped as a shadcn registry component. It wraps Radix Accordion primitives, uses a Lucide chevron, Tailwind utility and state classes, and a local cn helper backed by class-merging utilities. Its open and close motion expects accordion animation utilities in the host theme.



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 | 38.9 KB (104.4 KB build, 65.5 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 781ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-17e941d664bb/src/cut/components/ui/accordion.tsx".
Verdict
A sound copy-in accordion with clean mounting and no detected accessibility violations. The Radix foundation is a good fit for product interfaces, but the styling is coupled to shadcn-like Tailwind conventions, and consumers must keep wrapper widths responsive.
Use it if
- You want an accessible disclosure group with single or multiple item behavior inherited from Radix.
- Your React app already uses Tailwind conventions and a cn class-merging helper.
- You want source-owned styling that can be edited directly instead of a packaged visual abstraction.
Skip it if
- Your project avoids Tailwind utility classes or does not want to recreate the component theme tokens and animations.
- You need a dependency-light disclosure and do not want Radix plus the icon and class-merging packages.
- Your layout cannot guard against fixed-width consumer classes, since the supplied demo overflows at the narrow viewport.
Install
| Declared dependencies | @radix-ui/react-accordion, clsx, tailwind-merge |
|---|---|
| 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 |
In a non-shadcn project, add Radix Accordion, Lucide React, clsx, and tailwind-merge; provide the cn helper and the referenced color, border, ring, and muted text tokens; then define the accordion open and close keyframes or replace those animation classes.
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/preetsuthar17/HextaUIAlternatives
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
- neobrutalism-accordionbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 35.7KB
- Bare
- fail
- Prov
- NO