Uploaded June 2024 | Updated November 2026, 1 day ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Build a Next.js Modal with Parallel & Intercepting Routes and the shadcn/ui Dialog component. In this tutorial, you will learn how Next.js Parallel & Intercepting Routes can work together to provide a modal and fallback route segment.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Source Code Example: github.com/gitdagray/nextjs-modal-intercepting-routes
π My Next.js Videos: youtube.com/playlist?list=PL0Zuz27SZ-6Pk-QJIdGd1tGZEzy9RTgtj
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
Next.js Modal with Parallel & Intercepting Routes, shadcn/ui Dialog
(00:00) Intro
(00:14) Welcome
(00:26) Motivation
(01:13) Overview & Prerequisites
(01:57) Starter Project
(05:52) Run the project
(06:45) Adding shadcn/ui
(09:35) Component review
(11:10) Create a Parallel Route
(13:24) Create the Intercepting Route
(17:13) Create the Modal with shadcn/ui
(21:35) Applying & Viewing the Modal
(24:11) Forms in a Modal
πΊ Video References:
π Next.js Parallel Routes: youtu.be/M836RZxReHU
π Getting Started with shadcn/ui: youtu.be/v0_AT8zaLo8
π Next.js Light & Dark Mode: youtu.be/7zqI4qMDdg8
π Tutorial References:
π Next.js: nextjs.org
π Next.js Parallel Routes: nextjs.org/docs/app/building-your-application/routing/parallel-routes
π Next.js Intercepting Routes: nextjs.org/docs/app/building-your-application/routing/intercepting-routes
π shadcn/ui: ui.shadcn.com
π shadcn/ui Dialog component: ui.shadcn.com/docs/components/dialog
Was this tutorial about Next.js Modals with Parallel & Intercepting Routes and shadcn/ui helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #modal #dialog
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Build a Next.js Modal with Parallel & Intercepting Routes and the shadcn/ui Dialog component. In this tutorial, you will learn how Next.js Parallel & Intercepting Routes can work together to provide a modal and fallback route segment.
π Support me on Patreon β patreon.com/davegray
β Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: bit.ly/CompNextJSDev
- Advanced React: bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Source Code Example: github.com/gitdagray/nextjs-modal-intercepting-routes
π My Next.js Videos: youtube.com/playlist?list=PL0Zuz27SZ-6Pk-QJIdGd1tGZEzy9RTgtj
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
Next.js Modal with Parallel & Intercepting Routes, shadcn/ui Dialog
(00:00) Intro
(00:14) Welcome
(00:26) Motivation
(01:13) Overview & Prerequisites
(01:57) Starter Project
(05:52) Run the project
(06:45) Adding shadcn/ui
(09:35) Component review
(11:10) Create a Parallel Route
(13:24) Create the Intercepting Route
(17:13) Create the Modal with shadcn/ui
(21:35) Applying & Viewing the Modal
(24:11) Forms in a Modal
πΊ Video References:
π Next.js Parallel Routes: youtu.be/M836RZxReHU
π Getting Started with shadcn/ui: youtu.be/v0_AT8zaLo8
π Next.js Light & Dark Mode: youtu.be/7zqI4qMDdg8
π Tutorial References:
π Next.js: nextjs.org
π Next.js Parallel Routes: nextjs.org/docs/app/building-your-application/routing/parallel-routes
π Next.js Intercepting Routes: nextjs.org/docs/app/building-your-application/routing/intercepting-routes
π shadcn/ui: ui.shadcn.com
π shadcn/ui Dialog component: ui.shadcn.com/docs/components/dialog
Was this tutorial about Next.js Modals with Parallel & Intercepting Routes and shadcn/ui helpful? If so, please share. Let me know your thoughts in the comments.
#nextjs #modal #dialog










