# AccordionComponent

Titled blocks that fold, one open at a time or several.

```java
AccordionComponent faq = add(new AccordionComponent(at(new Box("faq", 10, 10, 200, 120)), AccordionComponent.Mode.SINGLE));
faq.item("Where is my world?", "In the saves folder.");
AccordionComponent.Item video = faq.item("Video", "");
video.add(new SliderComponent(new Box("fov", 0, 0, 170, 12), 30, 110, 70, v -> { }), 6, 2);
faq.setOpen(0, true);
```

## Variants

- Closed
- Open: Click a title to open it.

Page: https://minuit.dryaides.com/components/accordion.html
