Optimal Way to Create Lines in a GUI

I was creating a prototype for a gui and I was wondering what would be the best way to create lines


As shown in the image above, I made lines under the “Username” and “Password” field, creating such lines is easy because I’m using Adobe XD, but in Roblox Studio, there is no built in way to do so. I would like to ask, what ways are there to create lines in GUIs?

2 Likes

I think the majority of developers just go for Frames, make the BorderSizePixel 0 and just make the frame as small or as big as you want.
Essentially, any GuiObject which has a BackgroundColor3 and BorderSizePixel property can allow you to make a line but its better if you just use a Frame.

16 Likes

The way I make lines under things is by making a Frame really small and thin and changing the background colour to whatever you want the colour to be.

2 Likes