Skip to content

Glossary: Next.js Beyond the Basics

Dynamic segment

Also written: [id], [sku]

A folder name in square brackets, such as [sku] or [id], that matches any value in that part of the URL. Its value arrives in params.

Where the book teaches it

Related terms

Route handlerCatch-all segment