Measured entry
hyperui-faq-1
A compact FAQ accordion built from native HTML details and summary elements, with one item expanded by default. It ships as a copyable HTML document styled through utility classes, uses an inline SVG chevron, and needs the matching Tailwind CSS but no JavaScript package or 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 | 17.6 KB (83.0 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | none |
Verdict
A solid low-complexity choice for a small FAQ: native disclosure controls keep behavior dependable, and the verified build and mount are clean. Choose it when independent panels are acceptable; add scripting if product requirements call for a single-open accordion or event tracking.
Use it if
- You want a compact FAQ that works through native disclosure behavior without client-side state.
- Your site already compiles the utility classes used by the snippet.
- You are comfortable allowing several answers to stay open at once.
Skip it if
- You need a true single-open accordion with coordinated state.
- Your styling pipeline cannot include the snippet's utility classes.
- You need richer answer content, deep links, search, or analytics hooks out of the box.
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 |
No shadcn setup is required. A non-shadcn project should add Tailwind or equivalent CSS for the supplied utility classes, preserve the native details and summary markup, and replace the placeholder questions and answers. No JavaScript dependency is needed.
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-2editorial
- 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