Avatar
Bootstrap 5 Avatar component
Responsive Avatar built with Bootstrap 5. Examples of circle or square avatar, avatar in a card, inside the navbar, testimonial carousel, profile card & more.
Basic example
This is a basic example of a circle-shaped avatar. The roundness is achieved by adding the
.rounded-circle
class. You can experiment with different border radius to change the roundness of the
image corners. Make sure to check out the Image documentation to learn more about
image options and responsiveness.
With shadows
Adding a shadow to your avatar will make it stand out. You can generate a custom shadow with our generator.
Square
The default image shape is rectangular. If you need your avatar to be a square you need to make sure that your source image is of equal width an height, or overwrite them with CSS. You can also make the corners slightly rounded, like in the example below, in order to create a smoother design.
Rounded corners are applied with the .rounded-3
class, you can use different roundness levels from
our Border Radius docs, or
even create a fancy, irregular border shape with our Fancy Shapes Generator.
With content
Add additional content to your avatar. The most common use case is adding name and surname along with a text description, but you can also use a variety of other elements like Badges, Buttons, Text Animations, Icons or even Flags that indicate the country of origin.

John Doe
Web designer PRO
Carousel
Avatars are often used inside Testimonial Sliders and generally in many Review Designs.
Besides the avatar itself, the key elements of a good review design are Star Ratings and customer opinions, usually presented with a preceding quotation mark icon.
You can also embed more than one review in a single slide, change the speed of carousel transitions and customize your testimonial slider even further with our Carousel documentation.
Testimonials
Customer reviews with avatars, can also work great within simple Cards. Check our our Card Generator in order to create a basic card layout template and add custom CSS to experiment with avatar composition within a card.
Testimonials
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugit, error amet numquam iure provident voluptate esse quasi, veritatis totam voluptas nostrum quisquam eum porro a pariatur veniam.
.webp)
Maria Smantha
Lorem ipsum dolor sit amet eos adipisci, consectetur adipisicing elit.
.webp)
Lisa Cudrow
Neque cupiditate assumenda in maiores repudi mollitia architecto.
.webp)
John Smith
Delectus impedit saepe officiis ab aliquam repellat rem unde ducimus.
Profile
Avatars are often used in user profile cards. The example below was created with a basic Bootstrap Grid. You can use the Grid Builder to quickly sketch out the general grid layout.

Danny McLoan
Senior Journalist
Articles
41
Followers
976
Rating
8.5