Next.js Discord

Discord Forum

Access a parallel route's props from within a sibling route page.tsx?

Unanswered
Green Violet-ear posted this in #help-forum
Open in Discord
Green Violet-earOP
I'm trying to get some breadcrumbs working in my pages without having to hard code them. I'm following this guide: https://app-router.vercel.app/patterns/breadcrumbs

However, it seems that I only get the rendered output from the parallel component as a prop in my root layout. What I need is to get the actual breadcrumb catch all route segment prop and access it below from a page.tsx. Is this possible to do? In some pages I do not want a breadcrumbs and in other pages I want to render the breadcrumb in a different way than what is was rendered in from the parallell route component.

0 Replies