Measured entry

ruixen-faq-auto-accordion

faqunclassifiedmotion on file

A client-side React FAQ that keeps a single answer open, advances through items on a timer, pauses on pointer hover, and animates the active marker, answer reveal, and list reflow. It ships as a shadcn registry component and depends on Motion, Tailwind theme utilities, and the shared cn helper imported through the usual app alias.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-faq-auto-accordion at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-faq-auto-accordion at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-faq-auto-accordion 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 ruixen-faq-auto-accordion
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal69.8 KB (135.2 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 25.29s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/faq-auto-accordion.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished fit for an animated marketing FAQ, with clean verified mounting and responsive behavior. It needs a shadcn-style setup rather than dropping into a bare React project, and teams should review the timed cycling for focus and reduced-motion expectations.

Use it if

  • You want a compact FAQ that can cycle through answers automatically while still allowing direct selection.
  • Your product already uses shadcn conventions, Tailwind theme tokens, and Motion.
  • A single-open accordion with a traveling active marker suits the page hierarchy.

Skip it if

  • Visitors need to compare several answers at once, since opening an item closes the current one.
  • Automatic content changes are inappropriate for the audience or the page context.
  • You want a dependency-light accordion without a motion library.
  • Keyboard focus must pause the automatic cycle, since the supplied pause behavior is pointer based.

Install

Installation record for ruixen-faq-auto-accordion
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Motion, configure Tailwind with foreground and muted-foreground theme tokens, provide a cn class-merging helper, and either configure the app import alias or replace that import with a local path. The component must run on the client.

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.