component-centric version of the navigation API