Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

UL Modifier

Turn an array into an HTML unordered list element.

food:
- sushi
- broccoli
- kale
{{ food | ul }}
{!! Statamic::modify($food)->ul() !!}
<ul>
<li>sushi</li>
<li>broccoli</li>
<li>kale</li>
</ul>