The <x-aura::list> component renders a styled unordered list with optional dividers and visual variants. Each <x-aura::list.item> supports an optional leading icon. Use it for navigation menus, feature lists, settings groups, or any structured list of items.
<x-aura::list>
<x-aura::list.item icon="check">Feature one included</x-aura::list.item>
<x-aura::list.item icon="check">Feature two included</x-aura::list.item>
<x-aura::list.item icon="x">Feature three not included</x-aura::list.item>
</x-aura::list>
<x-aura::list variant="flush" :divided="true">
<x-aura::list.item>No padding or border on the outer edges</x-aura::list.item>
<x-aura::list.item>Flush to the container</x-aura::list.item>
<x-aura::list.item>Only dividers between items</x-aura::list.item>
</x-aura::list>