Skip to main content
label
string | Component
required
The link’s visible content. Can be a plain string or any component.
destination
() => Component
required
A function that returns the view to navigate to when tapped. Must be inside a NavigationStack.
When using the object form:
props.destination
() => Component
required
A function that returns the destination view.
props.label
Component
required
A component to use as the link label.

Support

Usage

Simple string label

Component label

Object form

See Also