Skip to main content
Accordion of one or more items.

Usage

Accordion content can be lazily loaded:
where expensive_item is the item to render, or a callable that returns the item to render.

Signature

Parameters

dict[str, object]
required
A dictionary of item names to item content; strings are interpreted as markdown.
bool
default:"False"
Whether to allow multiple items to be open simultaneously.
bool
default:"False"
A boolean, whether to lazily load the accordion content. This is a convenience that wraps each accordion in a mo.lazy component.

Returns

An Html object.