Having a look at the navigation features in .Net Maui. While just little code it many bits to look at.