Component linking to another state

Is there a way, to have a screen with a toggle component inside it for example and let’s say this toggle is present all across the apps and multiple views, but when the toggle is on to display a certain data, or to make it show something?

Basically what I am asking is, can I have a component when the end state of the component links to a specific screen? I tried that with Auto but it seems super laggy.