Measured entry
tripled-animated-accordion-shadcnui
accordionminimal-flatmotion on file
A client-side React FAQ accordion that keeps one panel open at a time, animates panel height and chevron rotation with Framer Motion, and ships through a shadcn registry. The file uses local state, fixed sample content, Lucide icons, Tailwind utility classes, and theme CSS variables; it needs no provider.



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 | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 60.6 KB (126.0 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 1.03s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-7f22f63e3506/src/cut/components/uitripled/animated-accordion-shadcnui.tsx".
Verdict
A clean, working single-open accordion with sensible responsive behavior and no provider ceremony. It is a good fit when Framer Motion is already present, but the fixed data and missing reduced-motion and expanded-state details make it a starting point rather than a finished design-system primitive.
Use it if
- You need a compact FAQ or policy list where only one answer should remain open.
- Your app already uses Framer Motion and Tailwind, so the animation and styling dependencies are already justified.
- You want a small component that is easy to adapt by replacing the fixed item list with product copy or props.
Skip it if
- You need multiple panels open at once, controlled state, or reusable item props without modifying the source.
- You want a lightweight disclosure and do not otherwise need Framer Motion.
- Your accessibility standard requires explicit expanded-state relationships or reduced-motion behavior out of the box.
- Your design system does not use Tailwind utilities or the referenced theme variables.
Install
| Declared dependencies | framer-motion, react, radix-ui |
|---|---|
| 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 React, Framer Motion, Lucide React, and Tailwind support, then define the card background, accent color, and foreground theme variables or replace those styles. Copy the component into a client-rendered boundary. The registry names a button primitive, but this source file does not import it.
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/moumen-soliman/uitripledAlternatives
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