A function that returns the view to navigate to when tapped. Must be inside a NavigationStack.
Support
Usage
Simple string label
Component label
Object form
List with navigation links
See Also
- NavigationStack — navigation container
- Button — tappable action (no navigation)