Filter buttons that change states

Hi all,

I’m following along building out a product explorer with filters like in this video…

I’d like the filter buttons to change color (I have images for on and off states) based on what is selected. So, if I hit the button for a filter, it changes to its selected state and all other filter buttons change to their deselected state. Only 1 filter should be selected at a time.

Is there a best practice for setting something like this up? I figured I could do a complex web of triggers and actions, but I’m sure there is a streamlined way to do it.

TIA!

Hello @tlitostansky,

If you made your toggle buttons part of a toggle set, then when one is checked it will uncheck the rest.

The same is for Image Toggle Buttons, and with this asset you can assign an image for checked and unchecked.

Thanks,
Ryan

Perfect! Thanks!