x
1
2
3
4
5
<!-- Circle -->
<img alt="Rounded avatar" class="w-10 h-10 rounded-full" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Rounded -->
<img alt="Default avatar" class="w-10 h-10 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
1
2
3
4
5
# Circle
render(Flowbite::Avatar.new(alt: "Rounded avatar", src: IMAGE_URL))
# Rounded
render(Flowbite::Avatar.new(alt: "Default avatar", shape: :rounded, src: IMAGE_URL))