Componentes
Accordion
Put optional detail behind native disclosure semantics.
Accordions use native details and summary behavior, so keyboard and pointer
interaction works before the Foldkit runtime starts.
Example
Does this require React?
No. Foldocs renders the component with Foldkit and semantic HTML.
Can a panel start open?
Yes. Set defaultOpen to true for content that should initially be
visible.
When to use it
Use accordions for optional explanations, troubleshooting, or frequently asked questions. Important setup requirements should stay visible in the normal page flow.
Last updated 2 ago 2026