Components and Layouts in Astro
Astro renders components to static HTML at build time, which keeps your pages fast. Use layouts to define shared structure and pass content via slots. Add interactivity only where necessary using client directives like client:load or client:idle.