Catch-all route

A file at src/app/examples/catch/[...slug]/page.tsx matches any path under /examples/catch/. The matched segments arrive as props.params.slug — typed as a single string with / separators.

Try it