Header & footer slots
Compose a heading and actions around the main content.
<div class="flex w-full max-w-md justify-center">
<x-components.card>
<x-slot:header>
<h3 class="font-semibold text-foreground">Project Atlas</h3>
<p class="text-foreground/50">Updated 2 hours ago</p>
</x-slot:header>
<p class="text-foreground/70">A clean surface for any content — text, forms, stats, you name it.</p>
<x-slot:footer>
<x-components.button size="sm">Open</x-components.button>
<x-components.button size="sm" variant="ghost">Archive</x-components.button>
</x-slot:footer>
</x-components.card>
</div>