Measured entry
hyperui-faq-2
A compact FAQ accordion shipped as copyable HTML with Tailwind utility classes. It uses native details and summary elements, an inline chevron SVG, and a group-open transform for its visual state. It has no package, JavaScript, provider, or component-runtime dependency, but its styling expects Tailwind to compile the utilities used in the markup.



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 | 17.6 KB (83.0 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | none |
Verdict
A dependable, low-complexity FAQ for Tailwind sites. Native disclosure markup keeps interaction straightforward, while the inline icon clearly signals state. Choose it for a simple editorial list, but expect custom work for coordinated accordion behavior or application-managed state.
Use it if
- You want an FAQ that works with native disclosure behavior and no client-side state code.
- Your project already compiles Tailwind utilities and can paste in framework-neutral HTML.
- You want a restrained, divided list that stays within its container across narrow and wide layouts.
Skip it if
- You need only one answer open at a time, since the native disclosures operate independently.
- You need controlled state, analytics hooks, or deep links for individual questions without adding your own scripting.
- Your project does not use Tailwind and you do not want to recreate the utility styling in CSS.
Install
| Declared dependencies | none declared |
|---|---|
| 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 Tailwind CSS with support for the utility classes, arbitrary selectors, and group-open state used here. Then copy the HTML and ensure those classes are included in content scanning. No React package, icon library, provider, or JavaScript setup is required.
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/markmead/hyperuiAlternatives
Other published entries for the faq pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hyperui-faq-1editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- hyperui-faq-3editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- meraki-faq-collapseminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- meraki-faq-centeredminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 18.0KB
- Bare
- pass
- Prov
- NO
- meraki-faq-gridminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 18.0KB
- Bare
- pass
- Prov
- NO
- 8bitcn-faq2skeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 30.2KB
- Bare
- fail
- Prov
- NO