--- title: Layouts sort: 150 section-id: core-concepts keywords: layouts, nested layouts, shared layouts, layout groups, _layout, slots description: How to use nested layouts, shared layouts, and layout groups in Velox language: en --- # Layouts Layouts define the structural shell around your page content — navigation headers, sidebars, footers, and anything else that persists across multiple pages. Velox provides a flexible, composable layout system built directly into the file-based router. ## Default Layout The file `layouts/default.velox` is the root layout applied to all routes unless overridden: ```tsx // layouts/default.velox --- import Header from '../components/Header.tsx'; import Footer from '../components/Footer.tsx'; --- {meta.title} — My App