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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of hextaui-accordion at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-accordion at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-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 hextaui-accordion
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal38.9 KB (104.4 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for hextaui-accordion
Declared dependencies@radix-ui/react-accordion, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

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.