I need help using swipe card, please help me

During the process of using swipe card, I want to switch to a certain button by clicking on it. For example, there are three buttons and three contents in the swipe card. Clicking on the first button will display card1, and clicking on the second button will display card2

Hi zhang zlk,

I am having problems understanding what card or integration you need help with.

Is it some Home Assistant Core function, or do you have a link to the original code?

Hi, welcome to the forum!

You don’t need swipe card for this, you can create buttons to change your view/dashboard.
But… why would you want a button to just switch the view whereas with the swipe card, you can just swipe.

If you share what you really want to achieve, we can help you in the best possible way.
Also, you can use browser_mod to open a pop-up with multiple cards.

Not sure if this is what you are looking for but you can do it with different dashboards or using tabs. I just review a video on how to accomplish this on YouTube “create dashboard tabs in home assistant” by My Smart Home. Hope this helps

So with these buttons, you want to change a part of your view? (without leaving that view)

similar stuff was asked in the topic of swipe card, but more from automation perspective. Someone added logic for ‘conditional card’ combined with input bolean to do that. I think that approach is easier then using the swipe card itself.

Apparent duplicate of I need help,please