#How to pass a prop from Layout into Slot?
2 messages · Page 1 of 1 (latest)
A slot is just a place where you render something that you define in the place of use. So usually you want to define your props there. If you want to modify the props in the place where the slot is, you might want to check out the Astro.slots.render API and use those results with a Fragment set:html