Cookies!. This website uses the tipical cookies to analyse traffic and provide customised content about the use with other social media analytics partners.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.

Your consent applies to the following domains: www.aysuns.com

Your current state: Deny. 

Cookie declaration last updated on 6/26/23 by Cookiebot:

Necessary (1)

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

Name Provider Purpose Maximum Storage Duration Type
CookieConsent Cookiebot Stores the user's cookie consent state for the current domain 1 year HTTP Cookie

Statistics (2)

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

Name Provider Purpose Maximum Storage Duration Type
_ga Google Registers a unique ID that is used to generate statistical data on how the visitor uses the website. 2 years HTTP Cookie
_ga_# Google Used by Google Analytics to collect data on the number of times a user has visited the website as well as dates for the first and most recent visit. 2 years HTTP Cookie

Nov.20

Order and Consistent Rules in User Interface Design

Designers placing elements on a screen through arbitrary visual adjustments and developers coding it with values ‘close enough’ is what contributes to the final messy look of the product.

Order and Consistent Rules in User Interface Design

Try to remember an experience when you interacted with a beautiful looking website or mobile application. How was the experience and how did it make you feel? Did you trust it more?

Ever wondered what made it so beautiful? Chances are you first thought about colors and images, but it’s not.

It’s whitespace and hierarchy into boxes. Little and big boxes of information, categorized and sorted so you can find exactly what you want, fast and easy because you care about your time.

1.1 Boxes arranged slightly off
1.1 Boxes arranged slightly off

Remember that time when you are designing that website or mobile app, yet when you are looking at it closely, it somehow doesn’t feel right and it’s giving you that messy impression?

Designer or developer, you can tell that it doesn’t look good, yet you tried to follow the best practices and just couldn’t put up something nice and be satisfied with it.

Your problem might originate first from the wrong use of whitespace.

Designers placing elements on a screen through arbitrary visual adjustments and developers coding it with values “close enough” is what contributes to the final messy look of the product.

1.2 Before Example
1.2 Before Example
1.3 After Example
1.3 After Example

Looking closely at the improved version, you can notice that there’s not much difference in terms of the size of the elements, yet it feels clean and easier to scan.

That’s because the second version uses consistent spacing. Not only that, it follows a spacing scale that makes the job easier to decide what values to pick.

1.3 Before Example with Measurements
1.3 Before Example with Measurements
1.4 After Example with Measurements
1.4 After Example with Measurements

Notice the higher numbers when it comes to separating entire sections in our example. Even those matter and need to be consistent, or you can end up easily on the messy looking side.

This consistency in values not only helps the user in scanning and putting bits of information into boxes, it also makes the developer’s job easier.

1.5 Spacing Scale
1.5 Spacing Scale

Here’s the spacing scale I used for deciding what values to use. You might notice that the values in pixels are not exact, but I used them because it’s easier to type in Figma or Sketch. When developing this, you need to consider the em/rem units instead of pixels.

I will not go into technical details, because that’s another talk about how to use these scales. However, if you jump into designing and find yourself wondering what values to pick, consider going to Modularscale and choosing the base value (usually browsers use 16px as default) and then pick the ratio you need.

It doesn’t matter as much what values you pick, how big or small your elements are on a page (in a certain limit), as long as you keep things consistent.

So why the importance of consistency?

Consistency together with a well-done hierarchy caters to the human need to put things into boxes and categorize things. The less time and cognitive energy is required to scan information, the happier the user is.

This means that the cleanliness not only makes the website or mobile application beautiful, but it also tells the user very clearly where something begins and where it ends.

2.1 Boxes arranged and aligned well
2.1 Boxes arranged and aligned well

Being able to categorize information fast and easy, without much cognitive energy, is one of the details that separate great digital products from good enough ones.

As a designer, when you start following the CSS box model together with a spacing scale, you will have an easier time choosing correct values and lower the risk of ending up with a messy look.

Why not get similar posts on your social media feed?

Follow me on Twitter and LinkedIn to discover more about design & front-end domains I passionately write about.