I often use button groups in a beaver themer header for the following types of use case:
Mobile Menu button
Site Search
Primary Call to Action
While you can use a separate search module, getting the spacing just right next to other buttons in a button group module is extremely difficult, so I prefer to simply contain all buttons I need within a single button group module.
However we run into the issue that there's no easy way to trigger those advanced actions on click, such as opening a navigation menu on mobile (overlay, slide-in, etc) or opening a search box.
It would be great if there was a way to tie those buttons into other modules on the page, like triggering visibility of a hidden or off-screen mobile menu, or showing a search input.
It would also be great to have the option to hide the button text in cases where you just want the icon visible.
Currently we use some CSS to hide the button text when needed, and the button as a whole on mobile or desktop. This is pretty easy. But we also use some custom javascript to trigger opening the menu and creating a search box, which isn't quite as easy.
I often use button groups in a beaver themer header for the following types of use case:
While you can use a separate search module, getting the spacing just right next to other buttons in a button group module is extremely difficult, so I prefer to simply contain all buttons I need within a single button group module.
However we run into the issue that there's no easy way to trigger those advanced actions on click, such as opening a navigation menu on mobile (overlay, slide-in, etc) or opening a search box.
It would be great if there was a way to tie those buttons into other modules on the page, like triggering visibility of a hidden or off-screen mobile menu, or showing a search input.
It would also be great to have the option to hide the button text in cases where you just want the icon visible.
Currently we use some CSS to hide the button text when needed, and the button as a whole on mobile or desktop. This is pretty easy. But we also use some custom javascript to trigger opening the menu and creating a search box, which isn't quite as easy.