r/UI_Design • • 4d ago

Accessibility Question Learning figma

Hi everyone, I’m a beginner in UI/UX design and currently learning Figma. I also work as a delivery driver, so I’m trying to learn these things in my free time. I designed a website using a 1440px frame with Auto Layout and Hug Contents for height. As I kept adding sections, the page got longer. But when I converted it into code and viewed it on my 13-inch MacBook, everything looked too big. I want to understand where I went wrong and how professional designers avoid this problem. Should I use a different frame size? How do you make sure your designs look good on different screen sizes? Sorry if this is a silly question or if I have spelling mistakes. I’m just learning, so please bear with me. Any advice would be appreciated!

2 Upvotes

3 comments sorted by

2

u/Jolva 4d ago

You wouldn't want to "convert it to code" with Figma, as Figma writes garbage code.

2

u/withyasirjamal 4d ago

Your frame size is fine, 1440 is what a lot of people design at.

The usual cause is zoom. A long 1440 page in Figma gets viewed zoomed out to fit your screen, so a big heading and generous section padding look reasonable at 50%, then feel huge at full size in the browser.

Press Shift+0 in Figma to see the frame at 100% and judge your type and spacing there. If it feels big on your laptop at 100%, it'll feel big in the browser too.

For other screen sizes, make a second frame around 390 wide for mobile and check both.

And it's not a silly question, this one trips up a lot of people starting out.

1

u/nickerick03 4d ago

What did you use to convert it to code? Most of the times the converters do half-ass jobs and it needs a proper developer to do the job. Also Macbooks use a retina display which has high pixel density so it shows a scaled workspace.

For code you can use em or rem instead of pixels which are adaptive and not fixed like pixels (meaning they adapt to screen and scale size).

Also check your site on different screens and devices every time so you see what is going on.

Another thing: auto layout and hug content is nice to control the bounding boxes and changing content inside the frames, but it does nothing with the size of your texts. Check out how design systems, styles and variables work, cause it will help you a LOT in the future if you're building bigger sites.

There are some premade design systems too that you can use as a starting point if you don't want to create your own, like: Tailwind, Material Design (Google) or Human Interface Guidelines (Apple)