swiftui textfield multiline
//You can use the .multiLineTextAlignment modifier
TextField("Random text", text: $text)
.multiLineTextAlignment(.leading)
//This aligns the text to the left
//There are more propeties besides .leading, more can be found at the source