Build an accordion where at most one section is open at a time, as in an FAQ page. The starter renders the sections with every panel visible and no interactivity.
collapsible prop (default true) controls whether clicking the open section closes it. With collapsible={false}, one section always stays open. Its header then gets aria-disabled="true", because activating it does nothing.defaultValue) and controlled use (value + onValueChange). With value set, the accordion never changes on its own. It calls onValueChange(next) and renders whatever value the parent passes back.<button>s inside headings with aria-expanded and aria-controls, panels with role="region" and aria-labelledby, and collapsed panels hidden.App shows a controlled accordion plus a line of text: "Open section: …" (or "none").<details name="faq"> exclusive accordion compare?Spotted a mistake or a rights concern? Report an issue