Fundamentals · Lesson 3/10

Layout & Space

Grids, columns, navigation, responsive design and the screen sizes you should actually design for.

10 min read29 of 52

Layout is the arrangement of visual elements in a digital interface to optimize the experience and improve usability. A good layout is attractive, easy to navigate and supports the user's goals and tasks.

Key considerations

Hierarchy

Hierarchy is affected by color, contrast, typography and layout. In layout, two levers matter most: size (larger elements are perceived as more important) and placement (elements at the top of a screen are perceived as more important than those lower down).

The 8px grid

A grid is a set of horizontal and vertical lines that align and organize elements. It creates a consistent structure, which helps readability, usability and harmony.

There are endless grid systems, but the most used is the 8px grid. Eight can be halved several times (8, 4, 2, 1), while 10, for example, causes problems for pixel perfection (10, 5, 2.5, 1.25). Most popular screen sizes are divisible by 8, and developers can eyeball 8-point increments instead of measuring every time.

It also makes you more efficient: you make fewer decisions while keeping a quality rhythm between elements.

Invoice paid
We sent the receipt to your email.
Try it: the 8px grid
With every distance a multiple of 8 (8, 16, 24, 32), the rhythm feels calm and intentional. Off-grid values (13, 21, 7) make the same card feel slightly wrong, even if you can't say why.
Example from my Figma file: Hierarchy
Example from my Figma file: Hierarchy
Example from my Figma file: The 8px grid
Example from my Figma file: The 8px grid

Columns

Column systems divide the layout into a set number of columns, providing a flexible, consistent structure. The most common is 12 columns on desktop and 4 on mobile. Twelve can be divided in many ways (halves, thirds, quarters), which gives a lot of creative freedom while keeping consistency. Changing the number of columns or the gutters is also how layouts adapt to different screens.

While the 8px grid is almost mandatory, columns are optional and depend on the design and your agreement with developers. Some developers can't live without them; others don't use them at all.

Example from my Figma file: Columns

White space

White space is the empty space between and around elements. Some people think it's wasted screen, but it's crucial: it gives elements room to breathe, improves readability and highlights what matters. Use it generously. Busy, crowded designs feel overwhelming and create anxiety. The fewer elements on a screen, the easier it is to focus.

Example from my Figma file: White space

Navigation

Navigation is a key part of any layout. It must:

  • Tell users where they are.
  • Let them move to other areas. The main areas must be visible; secondary ones can live in a "More" menu or hamburger.
  • Not take more space than necessary, so content has room.
  • Be handy, easy to find and easy to reach.

When you use icons, add text labels, especially for older audiences or products with a steep learning curve. Young-focused social apps can sometimes hide labels, because they have fewer areas and users learn them quickly.

Navigation patterns depend on the product: public websites usually have text navigation at the top, desktop dashboards a vertical bar on the left with icons and text, and mobile apps a bottom bar with 4 or 5 areas. Always consider who will use the product, for how long and on which device.

Example from my Figma file: Navigation
Example from my Figma file: Navigation
Example from my Figma file: Navigation
Example from my Figma file: Navigation
Example from my Figma file: Navigation
Example from my Figma file: Navigation
Example from my Figma file: Navigation

Responsive design

When your product is used on different devices, you need a strategy to adapt it so it always looks good and gives the best possible experience.

  • In responsive design, the same content reorders and resizes to fit each screen.
  • In adaptive design, you create separate versions for different devices, sometimes with different content and features.

For example, a complex internal dashboard used by employees at their desks doesn't need every feature on mobile. A reduced mobile version with alerts and messages, and the long comparison tables only on desktop, may be the smartest investment.

Example from my Figma file: Responsive design
Example from my Figma file: Responsive design
Example from my Figma file: Responsive design

Breakpoints

A breakpoint is the screen width at which the design changes to provide the best experience. With breakpoints at 1280px and 1920px, the 1280px design keeps stretching until the screen reaches 1920px, where the 1920px design takes over.

Try it: responsive layout
Drag the width. The layout reorganizes itself: columns collapse, the navigation turns into a menu button and nothing gets cut off.
Example from my Figma file: Breakpoints

What to deliver

The more complete the information you give developers, the more control you have over the final experience. Big companies can design many breakpoints, but most teams have limited resources. The most common practice is to deliver mobile and desktop designs and let developers adapt everything in between following best practices.

I also recommend designing one or a few key screens for very wide displays, like 2560px, so developers know how the design should keep growing.

Mobile first

Mobile first means designing for phones before desktop. Most people use digital products on mobile, so it makes sense to start there. But it depends on your product: if you design a dashboard used mainly at a desk, start with desktop.

Logical resolution

A screen's physical resolution is the number of pixels it has, marketed as HD (1280 × 720), Full HD (1920 × 1080), 4K (3840 × 2160) and so on. That's different from the screen size (13", 27") and from the logical resolution, or viewport.

Originally, physical and logical resolution were the same (1:1). Then manufacturers increased resolution without increasing screen size. Apple's first retina display, on the iPhone 4 in 2010, doubled the pixels in each direction. Keeping a 1:1 relationship would have made everything half its size, so each device now scales its physical pixels to a logical resolution that keeps objects at a comfortable physical size.

A 5K iMac (5120 × 2880) has a logical resolution of 2560 × 1440. A 13" MacBook Pro with 2560 × 1600 pixels has a logical resolution of 1440 × 900. And most 13" to 14" laptops sold with 1920 × 1080 screens are scaled at 150%, giving a logical resolution of 1280 × 720, which makes it the most common logical resolution in the world.

Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution
Example from my Figma file: Logical resolution

How this affects your designs

Screen size and physical resolution matter only to understand how people use the device: you sit meters away from a TV, half a meter from a laptop and closer to a phone. When designing, focus on the logical resolution, because it represents the actual size of what people see.

Why it matters

You want to control the final experience. It's a very common mistake to design for physical resolutions because they appear in the statistics. Imagine a landing page designed so the call to action is visible on arrival. Designed for 1920 × 1080 physical pixels, the button ends up below the visible area on most real laptops, and conversions suffer.

Best practices

Desktop

The most common desktop logical resolutions are 1280 × 720 and 1376 × 738. I design for the smaller one, so most users get the best experience, and because scaling up causes fewer problems than scaling down (you can't draw half a pixel).

But you also need to consider the browser and operating system. On Windows, the taskbar takes about 48px. The browser's address bar, tabs and bookmarks take about 112px more. That leaves 1280 × 570.

Yes, it's a narrow, small and frankly ugly area, and it won't look impressive in presentations. But it's what most of your users will see, and we design for them. Also watch out for products with two or three stacked top bars, pushing the main content down on every screen.

You can design screens taller than 570px. Just draw an imaginary line at 570px: everything above it is the safe area that every user will see without scrolling.

Get started
570px
Try it: the desktop safe area
A 1280 × 720 screen leaves around 570px of visible content once the browser bars are on. Stack more top bars and watch the main content and its call to action fall below the line.

Mobile

The same logic applies to mobile. The most common logical resolution is 360 × 800, but there are many sizes with similar shares. New phones trend towards 390 × 844, and older or cheaper ones are around 360 × 640.

I design at 392 × 840, a small trick based on the iPhone 13 and 14 (393 × 844) that keeps a perfect 8px grid for aligning elements to the right and bottom edges, and changes nothing for developers. Always add the status bar at the top, because you can't use that space.

Conclusion

There is no single standard, and every designer uses different sizes. Many look at physical resolutions and ignore logical ones. I used to design at 1440 × 768 for desktop and 320 × 480 for mobile. After researching logical resolutions, developers' needs and best practices, I now design at 1280 × 570 for desktop and 392 × 840 for mobile, plus one to three key screens at 2560 × 1440.

Example from my Figma file: Conclusion
Example from my Figma file: Conclusion

Resources

Quiz

Check what you learned

  1. Why is the 8px grid so popular?
  2. What is the difference between responsive and adaptive design?
  3. What should you design for: physical or logical resolution?
  4. What is the safe visible area I use for desktop designs?

Exercise

Design above the fold

Design a landing page hero that works on real screens.

0/5 steps done