Developers making UI decisions, what can go wrong?

Profile photo of Maria Kovalevich
Maria Kovalevich
May 06, 2019
4 min
Categories: DevelopmentDesign
Graffiti on the wall, punk is dad
Graffiti on the wall, punk is dad

Every day every developer has to make design decisions 👨‍🎨

Quite often developers have to make design decisions, even if you have a finished UI design in Figma, InVision etc. And yes, you can have a UI kit and UI guidelines, but sometimes it is not enough. Especially when you don’t have a detailed design system (a common thing in custom development). And when you need to adapt a design to small devices, or you need to design some empty states, or client wants to make changes right here and right now — for these cases you need to know some stuff will help you organize UI elements wisely.

The rules that are most often broken

Among other things, I identified 3 main areas where developers need design help. Today I will tell you about the first one.

Rule #1 Proximity: related elements are placed together

So, what does it mean? Here’s a good illustration. In the picture below we can see three different personas and no story.

https://miro.medium.com/max/1400/1*mgxEGip4g5QCCuugXNf6tQ.png

Well now something has changed. And we can definitely say that this lady is with the guy who stands on the right.

https://miro.medium.com/max/1400/1*ohTnQo7cppyMl529yChgbw.png

And now we finally have a story 😁

https://miro.medium.com/max/1400/1*-YtrsPvuqNSDgvLbpgRc1Q.png

This dramatic case tells that elements that are placed closer together are perceived as being more related than those placed further apart.

Most often we break that rule when we group text blocks.

In the example below the header’s margins are equal.

https://miro.medium.com/max/1400/1*jcotzddZNazTA2411P3OIw.gif

Of course user can understand by himself what paragraph the header belongs to, but it will be much better if we let the user enjoy reading, and don’t make him feel frustrated.

That’s much better. Don’t you agree?

https://miro.medium.com/max/1400/1*IMxUStmeFZLSgBd-4spVEw.gif

Element’s inside and outside space

**Space inside must be less than outside. **For example, inside space for our header is space between it’s lines. To visually separate the header from the text block the header’s inside space must be bigger than outside one.

https://miro.medium.com/max/1400/1*2D4AVMtefq_5i-7WtlGPYQ.gif

Interface examples

Next I’ve choosen a couple of examples how the proximity rule is applied in mobile interfaces, sometimes correctly and sometimes, well not so much.

This is one of the most popular luxury shopping site Net-a-Porter. We can’t understand at first glance what item a caption belongs to.

https://miro.medium.com/max/1400/1*TVUFag6hFr5NzemmmM2wPw.png

The human brain has a limited amount of processing power and this case might make user close the app as soon as possible.

And the same thing in Net-a-Porter mobile app. You can not identify what image the caption belongs to. There is too much cognitive overload…

https://miro.medium.com/max/1200/1*GapkdOFcnd1oO4NhIHr1Cw.gif

And what about their direct competitor — Farfetch ?

That’s a different story. There is a lot of white space, margins created by proximity rule. Almost… What do you think is wrong here?

https://miro.medium.com/max/1400/1*0v-aZ0uPDSy_o0iff_yLgw.png

Yes, a little mess with inside and outside spaces. Let’s make some changes…

https://miro.medium.com/max/1400/1*1mNRIJpcpQkTSZ89pFT99A.gif

And don’t forget about “basement”

It’s some space in the bottom which says “Hey! There is nothing else! There’s no more content, you don’t need to scroll anymore”.

https://miro.medium.com/max/1400/1*Ai2c4CypDtIsAyB2lVM-JQ.png

But unfortunately we forget about the footer quite often. Even the popular apps like Spotify and Instagram.

https://miro.medium.com/max/1400/1*1bQFxKFIcLhdw5v9LxjS-A.png

But Slack and WhatsApp don’t forget 😀

https://miro.medium.com/max/1400/1*51a7YQRlYvPd1aeQsMj4RQ.png

Pro tip: if you don’t have any footer please add a spring animation at the end of scrolling. Like that.

https://miro.medium.com/max/1400/1*QrBkfE2xv_0Tt_QKylwQPw.gif

OK, guys. I hope you found something useful here. Stay tuned to read about the other two rules that are broken most often. See ya✌️

P.S. The article used some of the materials from https://www.artlebedev.ru.

https://miro.medium.com/max/300/1*EIj_9xtYW_cYVqXMbbM0EA.png

Receive a new Mobile development related stories first. — Hit that follow button

Twitter: @ChiliLabs

www.chi.lv

Share with friends

Let’s build products together!

Contact us