--- title: Routes --- # Routes [MODES: framework, data, declarative] ## Summary [Reference Documentation ↗](https://api.reactrouter.com/v7/functions/react_router.Routes.html) Renders a branch of [``s](../components/Route) that best matches the current location. Note that these routes do not participate in [data loading](../../start/framework/route-module#loader), [`action`](../../start/framework/route-module#action), code splitting, or any other [route module](../../start/framework/route-module) features. ```tsx import { Route, Routes } from "react-router"; } /> } /> } /> ``` ## Signature ```tsx function Routes({ children, location, }: RoutesProps): React.ReactElement | null ``` ## Props ### children Nested [`Route`](../components/Route) elements ### location The [`Location`](https://api.reactrouter.com/v7/interfaces/react_router.Location.html) to match against. Defaults to the current location.