x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- Xs -->
<img alt="Extra small avatar" class="w-4.5 h-4.5 rounded-sm" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Sm -->
<img alt="Small avatar" class="w-6 h-6 rounded-sm" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Base -->
<img alt="Base avatar" class="w-8 h-8 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Default -->
<img alt="Default avatar" class="w-10 h-10 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Lg -->
<img alt="Large avatar" class="w-11 h-11 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Xl -->
<img alt="xl avatar" class="w-14 h-14 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
<!-- Xxl -->
<img alt="2xl avatar" class="w-16 h-16 rounded-base" src="https://flowbite.com/docs/images/people/profile-picture-5.jpg">
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Xs
render(Flowbite::Avatar.new(alt: "Extra small avatar", shape: :rounded, size: :xs, src: IMAGE_URL))
# Sm
render(Flowbite::Avatar.new(alt: "Small avatar", shape: :rounded, size: :sm, src: IMAGE_URL))
# Base
render(Flowbite::Avatar.new(alt: "Base avatar", shape: :rounded, size: :base, src: IMAGE_URL))
# Default
render(Flowbite::Avatar.new(alt: "Default avatar", shape: :rounded, size: :default, src: IMAGE_URL))
# Lg
render(Flowbite::Avatar.new(alt: "Large avatar", shape: :rounded, size: :lg, src: IMAGE_URL))
# Xl
render(Flowbite::Avatar.new(alt: "xl avatar", shape: :rounded, size: :xl, src: IMAGE_URL))
# Xxl
render(Flowbite::Avatar.new(alt: "2xl avatar", shape: :rounded, size: :"2xl", src: IMAGE_URL))