Accordion item
One collapsible section.
One section inside ::accordion.
Usage
:::accordion
::accordion-item{label="Why a layer and not a module?" icon="lucide:layers"}
A module cannot ship pages, a theme or an app.config default.
::
:::
API
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
label | string | — | The trigger's text |
icon | string | — | Any Iconify name, before the label |
Slots
| Slot | What goes in it |
|---|---|
default | The answer, as Markdown |
Was this page helpful?