Free Astro tutorials for complete beginners.

Beginner's Guide to Astro

What is Layout?

A component that wraps your pages with shared parts, such as a header and footer.

Instead of repeating your menu on every page, you put it in a layout once. A slot tag inside the layout shows where each page's content goes.

Related terms

Back to the full glossary

Try "blog", "deploy" or "EmDash".