How can I hide/show an element in a symbol based on an override?

I am working to figure out how I can add a text input that allows the user to type, press enter, and the text be used to create a tag/pill element (symbol) with an X icon for removing it.

(I’ll probably be back with questions about how to accomplish the rest of that soon, haha.)

Tag elements sometimes have X icons and sometimes do not, depending on context, but I would like to have both variations covered by the same Tag symbol.

How can I use overrides on my Tag symbol to determine if the X icon should be visible or not?



Would love to be able to do this as well! Haven’t figured it out myself yet… Would maybe be nice to have a toggle for this use case. Or maybe link it to a collection list where you can set a toggle?..