Link component

The Next.js component for in-app links, which navigates without a full reload and prefetches the target.

In more detail

It renders an ordinary a tag, so links still work without JavaScript. Set prefetch={false} to turn prefetching off for rarely used links.

Example

<Link href="/dashboard">Dashboard</Link>

Related terms

Taught in

References