Divider for header menu #72
Replies: 2 comments 1 reply
-
It's a good feature to have, but we need a proper/good way to configure it. Divider as menu itemsTreat the divider as a menu item, similar to the example you posted above, but the drawback is that you have to specify main:
- name: A
- identifier: divider-1
params:
divider: true # required, indicate whether this item is a divider.
- name: B New menu item parametersmain:
- name: A
params:
divider: true
- name: B Result as So in my opinon, I prefer the first implementation. |
Beta Was this translation helpful? Give feedback.
-
OK, close and track this feature on hbstack/header#645. |
Beta Was this translation helpful? Give feedback.
-
I wish if I can put some kind of 'divider' or 'separator' to header menu like this:
The style of the divider(separator) wouldn't matter if it clearly tells people that it is divider(separator). As you can see, my example isn't good example, because my example collides with sidebar element divider.
I'm not good at design stuff. 😞
Using
_separator
or_divider
as defining divider(separator) would be like this:I think no one will use
_separator
or_divider
as valid menu item name, so these will be unique name for divider(separator).Beta Was this translation helpful? Give feedback.
All reactions