Route patterns
Use static paths, :id segments, optional trailing segments, Next.js bracket syntax, catch-alls, or wildcards.
Understand URL matching, query safety, and the data available to Module instances.
Updated August 18, 2026 · 8 of 13
Use static paths, :id segments, optional trailing segments, Next.js bracket syntax, catch-alls, or wildcards.
Only named query keys enter application runtime data; preview-only keys remain internal.
Bind from route, params, query, auth, theme, config, env, application, and system.
Override application metadata per route, including canonical URLs, social cards, robots, and JSON-LD.
No. A route describes URL matching and metadata; its pageId selects page content. Multiple routes may point to the same page, so deleting a route must not delete a page that another route still uses.