Measured entry

hyperui-faq-1

faqeditorial

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.

Specimen
Harness screenshot of hyperui-faq-1 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-faq-1 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hyperui-faq-1 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-1
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 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

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

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.