# Card

Use card to group related content. Compose with `Card.Header`, `Card.Content`, and `Card.Footer`.
Set `size` to `default` or `sm`. Place header actions in `Card.Action`.

```svelte
<script lang="ts">
	import * as Card from '~/components/card';
</script>

<Card.Root class="w-full max-w-sm">
	<Card.Header>
		<Card.Title>Card Title</Card.Title>
		<Card.Description>Card Description</Card.Description>
	</Card.Header>
	<Card.Content>
		<p>Card Content</p>
	</Card.Content>
	<Card.Footer>
		<p>Card Footer</p>
	</Card.Footer>
</Card.Root>
```