<ul> <%= for l <- @locations do %> <li><%= live_component @socket, VaccinsWeb.LocationComponent, id: l.id, location: l %></li> <% end %> </ul>