Accordion

Add and configure the Accordion component in a Docmino document.

When to use

Use Accordion to keep optional or detailed sections collapsed until readers choose to open them.

Child content

Accordion.Item

Props

Name⇅
Type⇅
Description⇅
id
string
A stable identifier used to reference the component.
visibleWhen
expression
A condition that controls when the component is visible.

Example

Accordion

Section 1
Section 2
<Accordion> <Accordion.Item label="Section 1"> Content for section 1. </Accordion.Item> <Accordion.Item label="Section 2"> Content for section 2. </Accordion.Item> </Accordion>