Hello! I need assistance with highlighting buttons within a button block.
I would like to create a button block that allows users to select a timeframe—such as Today, Weekly, Monthly, and Yearly—and navigate to the corresponding pages by clicking the buttons. But Glide only allows highlighting either the left or right button by default.
My goal is to visually indicate which button is selected. Can this be accomplished using custom CSS? If not, what is a better approach to achieve this functionality in Glide? Any examples or resources would be greatly appreciated!
Can you explain why is highlighting important in this flow? Wouldn’t you not see the highlight because you have navigated to the corresponding pages after the click?
@ThinhDinh Thanks for your response. I would like to use the button block like tabs to navigate different pages. I tried it with Choice component but it doesn’t allow to trigger any actions.
This can be solved with css if you can make your button label unique when selected or not.
Or you really realize your page in different tabs, you can follow this thread: