Skip to main content
Question

Trying to create a simple filter system

  • April 5, 2025
  • 1 reply
  • 10 views

Brandon V.

Hello, I am working on a class project where I am prototyping a map for a small museum space. My goal is to have 4 buttons at the bottom of the display that when tapped, highlight different activities that correspond to each. Attached below is a screenshot of what I have so far (sorry for the lines across I have other interactions).

 

In short I need each button to:

  1. when pressed highlight each shape of the corresponding color
  2. when pressed again revert those shapes to their default settings
  3. allow other buttons to be pressed at the same time, since some activities will correspond to multiple things

Any help would be greatly appreciated!

 

1 reply

Avokadomos
  • Active Member
  • 377 replies
  • April 6, 2025

This can be done by combining multiple components. Create a component for every category, and make a variant where they are highlighted. Check out this demo. You can open it in the editor and inspect.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings