The link’s visible content. Can be a plain string or any component.
A function that returns the view to navigate to when tapped. Must be inside a NavigationStack.
A function that returns the destination view.
A component to use as the link label.
Support
Usage
Simple string label
Component label
Object form
List with navigation links
See Also
- NavigationStack — navigation container
- Button — tappable action (no navigation)