Is there a better method to do tabs with databinding?

Hi i’ve set up some tabs for my navbar using the state machine but I’m trying to figure out if there’s a better method using databinding. I’ve tried a few things but can’t quite get my head around it. Any tips would be much appreciated :)

Screen Recording 2025-04-29 at 20.59.18.mov