Hi there, @yaokan99… I don’t necessarily understand your question, but in general, yes, you can “replace” an element with a different element by having both elements on the page and setting their visibility with conditions. For example, when an element is clicked, you could set a custom state to a particular value, and you could have another element that has a condition on it to make it visible when the custom state’s value is the value you set.
If this response isn’t helpful, consider sharing some screenshots so it is easier to understand what you are actually trying to do.