Source code
src/showcase/pages/components/avatars.html
This file is included in this documentation build. It is displayed as code and is not executed.
<!--
Demonstrate the avatars component on its own lazy route.
@author Laurent Declercq l.declercq@agon-innovation.ch
@version 20260921
-->
<section x-data="componentCatalog" class="component-library">
<include
src="partials/components/page-header.html"
locals='{"title":"componentAvatars"}'
></include>
<div class="catalog-grid">
<article class="card">
<header class="card-header"><h2 x-text="$t('componentAvatars')"></h2></header>
<div class="card-body">
<div class="demo-row">
<span class="avatar avatar-sm">AM</span>
<span class="avatar">LD</span>
<span class="avatar avatar-lg rounded-circle">AG</span>
<div class="avatar-group" :aria-label="$t('galleryTeam')">
<span class="avatar">AL</span>
<span class="avatar">MK</span>
<span class="avatar">+3</span>
</div>
</div>
</div>
</article>
</div>
</section>