---
title: Basics
toc: false
order: 1
---

# Basic Example

This example demonstrates some of the basic features of React Router, including:

- Layouts and nested `<Route>`s
- Index `<Route>`s
- Catch-all `<Route>`s
- Using `<Outlet>` as a placeholder for child routes
- Using `<Link>`s for navigation

## Preview

Open this example on [StackBlitz](https://stackblitz.com):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/remix-run/react-router/tree/main/examples/basic?file=src/App.tsx)
