Measured entry

hyperui-faq-2

faqeditorial

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.

Specimen
Harness screenshot of hyperui-faq-2 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-faq-2 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-faq-2 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 hyperui-faq-2
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.6 KB (83.0 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usednone

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

Installation record for hyperui-faq-2
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno 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.

Alternatives

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.