Explore / React

Accordion

Easy ยท React

What to build

Build an Accordion component โ€” a list of items each with a title and collapsible content. Clicking a title expands that section and collapses any other open one. Only one item open at a time.

Build it in the browser editor on GrindPrep (desktop) and compare with the reference solution.