Cards & Badges
How to use
<div class="ar-grid ar-grid-cols-1 ar-lg:grid-cols-3 ar-gap-4 ar-mt-4">
<div class="ar-card ar-hover-shadow-xl">
<figure class="ar-card-figure"><div class="ar-docs-demo-img" style="height:10rem;">image</div></figure>
<div class="ar-card-body">
<h2 class="ar-card-title">Card title</h2>
<p>Card body with some description text and tags below.</p>
<div class="ar-flex ar-flex-wrap ar-gap-1">
<span class="ar-badge ar-badge-outline">tag</span>
<span class="ar-badge ar-badge-primary">Primary</span>
<span class="ar-badge ar-badge-neutral ar-badge-sm">sm</span>
<span class="ar-badge ar-badge-outline ar-badge-xs">xs</span>
</div>
</div>
</div>
<div class="ar-card">
<div class="ar-card-body">
<h2 class="ar-card-title">Simple</h2>
<p>Cards work without a figure too.</p>
<button class="ar-btn ar-btn-primary ar-btn-sm">Action</button>
</div>
</div>
<div class="ar-card ar-bg-base-200">
<div class="ar-card-body">
<h2 class="ar-card-title">Neutral surface</h2>
<p>Set the background with the <code>ar-bg-base-200</code> utility.</p>
</div>
</div>
</div>image
Card title
Card body with some description text and tags below.
tagPrimarysmxs
Simple
Cards work without a figure too.
Neutral surface
Set the background with the ar-bg-base-200 utility.