Skip to content

Card Group

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<Grid
class="grid-cols-1 gap-48 lg:grid-cols-2"
data-component="card-group">
<Card>
<div class="flex size-48 items-center justify-center rounded-full bg-sky-200 text-black [&_svg]:size-24">
<Fragment set:html={clock} />
</div>
<div class="flex flex-col gap-8">
<h2 class="text-xl font-bold">{data.headline}</h2>
<p class="text-sm">{data.text_long}</p>
</div>
</Card>
<Card>
<div class="flex size-48 items-center justify-center rounded-full bg-sky-200 text-black [&_svg]:size-24">
<Fragment set:html={clock} />
</div>
<div class="flex flex-col gap-8">
<h2 class="text-xl font-bold">{data.headline}</h2>
<p class="text-sm">{data.text_long}</p>
</div>
</Card>
</Grid>

API Reference

The following are the props that can be passed to the page block.

Prop Type Default
as
string "div"
center
boolean false

Examples

Center aligned, 3-col, as a section.

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<Grid
as="section"
class="grid-cols-1 gap-48 lg:grid-cols-3"
data-component="card-group">
<Card>
<div class="flex size-48 items-center justify-center rounded-full bg-sky-200 text-black [&_svg]:size-24">
<Fragment set:html={clock} />
</div>
<div class="flex flex-col gap-8">
<h2 class="text-xl font-bold">{data.headline}</h2>
<p class="text-sm">{data.text_long}</p>
</div>
</Card>
<Card>
<div class="flex size-48 items-center justify-center rounded-full bg-sky-200 text-black [&_svg]:size-24">
<Fragment set:html={clock} />
</div>
<div class="flex flex-col gap-8">
<h2 class="text-xl font-bold">{data.headline}</h2>
<p class="text-sm">{data.text_area}</p>
</div>
</Card>
<Card>
<div class="flex size-48 items-center justify-center rounded-full bg-sky-200 text-black [&_svg]:size-24">
<Fragment set:html={clock} />
</div>
<div class="flex flex-col gap-8">
<h2 class="text-xl font-bold">{data.headline}</h2>
<p class="text-sm">{data.text_long}</p>
</div>
</Card>
</Grid>