What is Props?
Values you pass into a component, like filling in a form.
In a tag like Layout title="Home", title is a prop. The component reads it with Astro.props and can use it anywhere inside.
Free Astro tutorials for complete beginners.
Beginner's Guide to Astro
Values you pass into a component, like filling in a form.
In a tag like Layout title="Home", title is a prop. The component reads it with Astro.props and can use it anywhere inside.