Похожие чаты

Is there some kind of rule for this? like text+button

composition

21 ответов

7 просмотров

No hard set rule I would say but more of, best practices. Common approach is to group them closer; this helps with context rather than having the chunk of text separate from the title, or button separate from the content. Once spacing is optimised, keep the elements vertically aligned in the middle of the screen helps keep things more balanced. A bigger button would have a larger tap area, helps too. Another layout commonly used, (usually for content longer than your examples) is to separate the content and button, by placing the button toward the bottom of the screen. This helps with user’s reachability. And of course, with a bigger button the larger tap area helps too. Generally regardless of the approach you take, you want to balance it evenly, so it is not too heavy on the top, or bottom. Hope this helps.

Marián-Trpkoš Автор вопроса
Marián-Trpkoš Автор вопроса
✷ ᴛʀᴀᴄʏ ✷
No hard set rule I would say but more of, best pra...

… the „another layout commonly used“, did you mean this?

Marián-Trpkoš Автор вопроса
Marián Trpkoš
screenshot … the „another layout commonly used“, did you mean...

the „get started“ button si aligned towards bottom

Marián-Trpkoš Автор вопроса
Marián Trpkoš
screenshot … the „another layout commonly used“, did you mean...

by the way, few questions that come to my mind… now speaking only VERTICAL alignment… a) where should the spacing be fixed / same? between elements in „element groups“? b) how should the responsiveness behave? (let’s say there is iphone SE with short screen and X with tall screen), should the content be same height and align towards top/center as a whole or stretch the spacings between „element groups"

Marián Trpkoš
by the way, few questions that come to my mind… n...

a) you can try categorising your content to identify which should be grouped together. The spacings can be set at a design system level. And justify why that much / little space is needed, or is necessary. If it’s too far apart it’s too disconnected. If it’s too near, it’s hard for users to scan. There are than this but I think you got the gist 🤗

Marián-Trpkoš Автор вопроса
Marián Trpkoš
by the way, few questions that come to my mind… n...

the responsive-ness is the biggest problem for me, like if you make variable spacings between „element groups“, it may look weird on extra tall/small screens, if you make it fixed you may intrdouce weird scroll / overflow, maybe combination of these two? like creating variable spacings with min and max value?

Marián Trpkoš
by the way, few questions that come to my mind… n...

b) you can set screen sizes / breaks. For example, for screen sizes > 375px (W/H)use spacing X. For screen sizes below < 375px (W/H), use spacing Y.

Marián-Trpkoš Автор вопроса
✷ ᴛʀᴀᴄʏ ✷
a) you can try categorising your content to identi...

is there anything like spacing <-> „importance“ relationship?

Marián Trpkoš
the responsive-ness is the biggest problem for me,...

Usually in my experience, I would find a middle ground that can fit great for most phone sizes. For example, from your screens, a lot of space is given to the gradient layer behind. Maybe reevaluate the purpose or have a justification. If it interferes with users having smaller devices, maybe then it’s a good UI but a flawed UX. You can even try the sign up to be in a bottom sheet like your design for larger phones, but full screen on a smaller device? So the top part does not take any more space for smaller device.

Marián-Trpkoš Автор вопроса
Marián-Trpkoš Автор вопроса
✷ ᴛʀᴀᴄʏ ✷
Usually in my experience, I would find a middle gr...

that was the initial thought, bigger phones would have the gradient and smaller ones will be fullscreen

Marián Trpkoš
is there anything like spacing <-> „importance“ re...

Yess, definitely. If they are grouped closely, they are deemed related in a certain category. This is prevalent in pages that are loaded with a lot content. Further apart does not necessarily mean more important or noticeable because it feels disconnected. Unless it is a separate content from the screen like maybe a banner? That way even the UI would help it stand out as well.

Marián-Trpkoš Автор вопроса
Marián-Trpkoš Автор вопроса
✷ ᴛʀᴀᴄʏ ✷
Yess, definitely. If they are grouped closely, the...

well and what about click-ability or something like that?

Marián-Trpkoš Автор вопроса
Marián Trpkoš
well and what about click-ability or something lik...

i sometimes face the issue where i can’t distinguish clickable and non-clickable elements, especially when there are made up of icons

Marián-Trpkoš Автор вопроса
Marián Trpkoš
i sometimes face the issue where i can’t distingui...

imagine a triple dot share icon / trash delete icon you can’t shadow-ize, how tf do you tell the user it’s a button

Похожие вопросы

Обсуждают сегодня

Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
А чем вам питонисты не угодили?😂
.
79
Язык Си можно выучить за день? По книжке ANSI C на 230 страниц
Vincent Vegan
29
Привет, запускаю werf в dind в k8s, получаю ошибку на этапе build/beforeSetup: /.werf/stapel/embedded/bin/bash: /.werf/scripts/5898bdfe5214357d3706b879cc8d3d78460fb379607cbd...
florius0
7
пацаны, как-нибудь можно панель задач заблюрить, что она была похожа на kde или винду 7, 11?
В
16
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Dim Dim, [02.07.2024 11:07] DB 0x62 Dim Dim, [02.07.2024 11:07] DB 0x66 Dim Dim, [02.07.2024 11:07] кто пояснит что это?
Dim Dim
14
So total 101m burned Today?
Simu
18
Ошибка: segmentation fault (core dumped) Код: pastebin.com/BEsNNSSV Сообщение от компилятора: отсутствует ОС: Arch Linux Ядро: x86_64 Linux 6.9.7-arch1-1 Процессор: Intel Cele...
sec
4
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Карта сайта