UI/UX š© / Tips
How to control all spacing and sizes of your designs using the 8 rule and Method Sketch Plugin
For some years now, Iāve been using a work methodology based on 8px. The goal is to improve my work-flow and shushing thoughts like ātry putting this a little to the right. Wait, no! Better to the left! Letās see it from farā¦ā
The theory is quite simple: the idea is that all the elements in your design are a multiple of 8 in terms of width and height, just as their spacing.
Well, there are quite a few reasons why I decided to start working this way:
To tell you the truth, I tried everything. 4,6,12ā¦ (even numbers, clearly), and there are some factors that made 8 the chosen one:
If youāre a designer with a brush of OCD like meā¦ please, donāt keep on reading. When you start designing with multiple spacings of 8āāāas proposed by Material Design and other manualsāāāyou realize that, if the container of the layer youāre positioning doesnāt have a multiple of 8 size itāll. JUST. NOT. FIT! However, if everything is a multiple of 8ā¦ it will always fit; be it 144, 1600ā¦ you name it.
Of course, this was a big problem for meāāāimagine me tapping on my calculator all day long (I even learnt the multiplication tables from 8 to 20 by heart).
Thatās why I decided to create a plugin to spare me the suffering. Later, I realized that maybe many of you might have the same problem, so I thought of sharing it with you all, in case you need it, Letās take a look at Methodās features.
Click here!I am an advocate of working with multiples of 8 but, if someone has another preference, you will be able to change it. The following examples are made with multiples of 8 just to be clearer
Goodbye, calculator! Ctrl+8 and the object will be shaped to 8 in height and width. If the height and width are multiple of 8, all the elements that we fit in the (as long as they are multiple of 8), can have a multiple spacing of 8.š¤
āJust a bit moreā āJust a Little lessā but 8 by 8 version
Move from 8 to 8, so damn easy! I have included a layout to the plugin download, so that everything that fits in it, it will be a multiple of 8, to basically just get on with it!
It is always a work in progress but, with some or other technical difficulty (Iām not an emoji programmer, you know) the idea is that this methodology flows softly with smart-guides. If someone wants to try it on GitHub, the source code is completely free and modifiable. š¤Ŗ