This content originally appeared on DEV Community and was authored by Rails Designer
This articles was originally published on Rails Designer
Here is a quick design tip for you that will push you to the top 10% of developers!
When aligning elements there are two ways you can do it:
- mathematical: centered based on measurements;
- optical: adjusted slightly to appear centered to the human eye.
Most of the time mathematical centering will do just fine, but sometimes it will look off. That is when you have to place the element slightly off its true center. This is called optical, or visual, alignment. It is a fundamental principle in design to create more pleasing and balanced compositions.
Here is a typical example of a play-button in a rectangle. The one on the left is optically aligned, meaning I manually shifted it to the right. On the right is the mathematically aligned version.
Don't believe it? Let's measure!
That's a big shift, right? This happens because the play-icon has more “visual weight” on the left. So it needs to be shifted to the right. You should shift in the opposite direction of the visual weight.
This is one of those things that once you see it, you can see it everywhere. Let's add more balance to those designs of yours! 🧘♂️
This content originally appeared on DEV Community and was authored by Rails Designer
Rails Designer | Sciencx (2024-11-12T14:00:00+00:00) Mathematical and Optically alignment in (visual/UI) design. Retrieved from https://www.scien.cx/2024/11/12/mathematical-and-optically-alignment-in-visual-ui-design/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.