List

Data display

Takes a block

List of its children; ordered for a numbered list.

List(ordered: …) { … }

Example

List { List.Item { Text("Milk") } List.Item { Text("Eggs") } } List.ordered { List.Item { Text("First") } }

Renders with the class wf-list, stable across releases, so a stylesheet may target it.

Props of List
Prop Type Meaning
ordered: Bool

Numbered (<ol>)

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.