Nested Parameters
Nested Parameters
Parameterized directories allow you to capture dynamic segments in folder names. Place a [param] directory to match any value at that path segment.
Captured Parameters
userId = "u42"
File Structure
routes/
features/
routing/
user/
[userId]/ ← Parameterized directory
profile.tsx ← You are hereRoute Pattern
/features/routing/user/:userId/profile