I'm thinking about a "gated" content component that lets you gate certain content on the page. I'd like to have a fallback state that's "You need to log in" while it's loading AND if it loads and you're not logged in.
I tried just adding a slot area in the component with the name fallback to see if it would pull in, but it doesn't seem to... is there anything special about that name that would prevent that from being used in the component?
index.astro
<Gated server:defer>
<Card
href="https://docs.astro.build/"
title="Documentation"
body="Learn how Astro works and explore the official API docs."
/>
<Locked slot="fallback" />
</Gated>
Gated.astro
<div>
<slot name="fallback" />
</div>