How to return multiple strings in a Modal

looking to get an array or strings printed in a Modal with each item on its own “line”… not sure of the best way to do this or if something else should be used besides Modal.

The code i’m using is this (and i’ve tried iterations without the carriage returns):
Show-UDModal -Content {
foreach ($r in $res){ New-UDTypography -Text “$rnr”}
}

I’m looking for:
$r[0]
$r[1]
$r[2]

instead of $r[0] $r[1] $r[2] which is what i’m currently getting

If you place them inside a paragraph tag it should have the correct effect.

        Show-UDModal -Content {
            $res = @('1', '2', '3')
            foreach ($r in $res){ New-UDElement -Tag p -Content { New-UDTypography -Text "$r" } }
        }

Thanks Adam!!! Worked like a charm, did just what i was looking for. Much appreciated.