Examples
Basic
Flat list — four mail folders. Alpine tracks the active item with
pf-m-current.
Grouped
__section with a __title — multiple labelled groups in one
list.
Documentation
Simple list props
Parameters accepted by
{#include components/data-display/simple-list ... /}. Model mode: pass
list=<SimpleList> built in Java instead — the Java tab on each example shows the
builder. The list structure (sections, items, anchors) lives in the slot.
| Name | Type | Description |
|---|---|---|
* id
|
String | DOM id on the container. |
slot content
|
Qute block | List items — either a flat <ul class="pf-v6-c-simple-list__list"> or one or more <section class="pf-v6-c-simple-list__section"> for grouped lists. |