Cards are a built-in component provided by Starlight ↗.
import { Card } from "~/components";
<Card title="Check this out" icon="ph:puzzle-piece">
Interesting content you want to highlight.
</Card>import { ListCard } from "~/components";
<ListCard title="Links" icon="ph:puzzle-piece">
- foo
- bar
- baz
</ListCard>import { LinkTitleCard } from "~/components";
<LinkTitleCard
title="Check this out"
icon="ph:puzzle-piece"
href="/style-guide/components/cards/"
>
Interesting content you want to highlight.
</LinkTitleCard>Optionally, you can choose a corresponding icon from Starlight’s Icons ↗ for cards.