Display a multiselect as tags

hello!
I would like to display my filters as tags. like this

I want the selected tags to have a selected style

I tried to do it by myself with a ynamic list of tag, selected tag variable and a worklfow adding the selected tag to the selected tag variable. The thing is that only one tag is designed as aseected as once.

The best would be to use the multiselect component and to design it as tags, but I can’t see any option allowinf this…
does someone already did it?

By default the multiselect are tags. You can try to use free format option amd style it to your own likings. But I believe the freeformat.

Or you you can add de selected items to an array variable and then use a state if item in selected_items to set a different color for selected items.