#Japt, 8 bytes
Japt, 8 bytes
Returns an array of lines.
õ ¬å+ zU
Saved 2 bytes thanks to Kevin.
õ ¬å+ zU :Implicit input of integer U
õ :Range [1,U]
¬ :Join to a string
å+ :Cumulatively reduce by concatenation
zU :Rotate clockwise by 90 degrees U times