Skip to content
SprecherEast
Issue 615

Add a Disclosure kit component and use it in FaqList and OnThisPage

Back to our plan
Not planned
frontendtech-debtpriority: high

In plain words: two places hand-build the same open/close box with raw details and summary tags. They should share one kit component (#610 adds the lint ban after this).

Details: FaqList.tsx:15 (module code) and OnThisPage.client.tsx (the bar). Disclosure holds summary, chevron, open rotation and an optional onToggle; test, axe check, gallery entry, docs/ui/component-set.md row (rule 5).

Acceptance criteria

  • Both places use Disclosure; no raw details/summary elsewhere
  • Test, axe, gallery entry and component-set row exist

Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab