# NavigationConfig

Source: https://ardo-docs.dev/v6/en/api-reference/types/navigationconfig

How the browser moves between pages. Every link still loads a full document.

```ts
import type { NavigationConfig } from "ardo/config"

type NavigationConfig = {
    /**
     * Cross-fade between pages with cross-document view transitions. Browsers without support,
     * and readers who prefer reduced motion, navigate without the animation.
     */
    viewTransitions?: boolean;
    /**
     * Start loading a linked page while the pointer rests on its link, with the Speculation Rules
     * API. `"prefetch"` downloads the document; `"prerender"` also renders it. Production builds
     * only.
     */
    speculation?: false | "prefetch" | "prerender";
};
```

## Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| ` viewTransitions ` | ` boolean ` | No | Cross-fade between pages with cross-document view transitions. Browsers without support, and readers who prefer reduced motion, navigate without the animation. |
| ` speculation ` | ` false \| "prefetch" \| "prerender" ` | No | Start loading a linked page while the pointer rests on its link, with the Speculation Rules API. `"prefetch"` downloads the document; `"prerender"` also renders it. Production builds only. |
