Basic example

<div class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div>
Shapes



<div class="avatar"><img src="avatar.jpg" alt="avatar"></div><div class="avatar"><img src="avatar.jpg" class="rounded" alt="avatar"></div><div class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div>
Sizes




<div class="avatar avatar-xl"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div><div class="avatar avatar-lg"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div><div class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div><div class="avatar avatar-sm"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div>
Text
<div class="avatar avatar-xl"><span class="avatar-text rounded-circle">A</span></div><div class="avatar avatar-lg"><span class="avatar-text rounded-circle">B</span></div><div class="avatar"><span class="avatar-text rounded-circle">C</span></div><div class="avatar avatar-sm"><span class="avatar-text rounded-circle">D</span></div>
Link
<a href="#" class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="image"></a><a href="#" class="avatar"><span class="avatar-text rounded-circle">A</span></a>
Colors
<div class="avatar avatar-primary me-1"><span class="avatar-text rounded-circle">P</span></div><div class="avatar avatar-secondary me-1"><span class="avatar-text rounded-circle">S</span></div><div class="avatar avatar-success me-1"><span class="avatar-text rounded-circle">S</span></div><div class="avatar avatar-danger me-1"><span class="avatar-text rounded-circle">D</span></div><div class="avatar avatar-warning me-1"><span class="avatar-text rounded-circle">W</span></div><div class="avatar avatar-info me-1"><span class="avatar-text rounded-circle">I</span></div><div class="avatar avatar-light me-1"><span class="avatar-text rounded-circle">L</span></div><div class="avatar avatar-dark"><span class="avatar-text rounded-circle">D</span></div>
State icon








<div class="avatar avatar-state-primary"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div>




<div class="avatar avatar-xl avatar-state-primary"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div>
Avatar group


<div class="avatar-group"><div class="avatar avatar-success"><span class="avatar-text rounded-circle">E</span></div><div class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div><div class="avatar avatar-danger"><span class="avatar-text rounded-circle">S</span></div><div class="avatar"><img src="avatar.jpg" class="rounded-circle" alt="avatar"></div><div class="avatar avatar-primary"><span class="avatar-text rounded-circle">C</span></div></div>