Images & figures

Image styles and figure component for displaying images and text.

Bootstrap docs

Image shapes

Square image
Rounded image
Circle image
<!-- Square image (default) -->
<img src="path-to-image" alt="Square image">

<!-- Rounded image -->
<img src="path-to-image" class="rounded-3" alt="Rounded image">

<!-- Circle image -->
<img src="path-to-image" class="rounded-circle" alt="Circle image">

Thumbnails

Square thumbnail
Rounded thumbnail
Circle thumbnail
<!-- Square thumbnail -->
<img src="path-to-image" class="img-thumbnail rounded-0" alt="Square image">

<!-- Rounded thumbnail -->
<img src="path-to-image" class="img-thumbnail" alt="Rounded image">

<!-- Circle thumbnail -->
<img src="path-to-image" class="img-thumbnail rounded-circle" alt="Circle image">

Figures with caption

Figure with caption
Caption on the left
Figure with caption
Caption in the center
Figure with caption
Caption on the right
<!-- Caption on the left -->
<figure class="figure">
  <img src="path-to-image" class="figure-img" alt="...">
  <figcaption class="figure-caption">Caption on the left</figcaption>
</figure>

<!-- Caption in the center -->
<figure class="figure">
  <img src="path-to-image" class="figure-img" alt="...">
  <figcaption class="figure-caption text-center">Caption in the center</figcaption>
</figure>

<!-- Caption on the right -->
<figure class="figure">
  <img src="path-to-image" class="figure-img" alt="...">
  <figcaption class="figure-caption text-end">Caption on the right</figcaption>
</figure>
Top