Image Shapes

Add classes to an `<img>` element to easily style images with rounded corners, circular crops, or thumbnail borders.

Rounded Image
`.rounded`
Circular Image
`.rounded-circle`
Thumbnail Image
`.img-thumbnail`
Avatar Image Sizes

Use avatar utility sizing classes (`.avatar-xs`, `.avatar-sm`, `.avatar-md`, `.avatar-lg`, `.avatar-xl`) for profile pictures.

Avatar XS Avatar SM Avatar MD Avatar LG Avatar XL
Directional Border-Radius

Round specific corners of an image using directional border-radius classes (`.rounded-top`, `.rounded-end`, `.rounded-bottom`, `.rounded-start`).

Rounded Top
`.rounded-top`
Rounded End
`.rounded-end`
Rounded Bottom
`.rounded-bottom`
Rounded Start
`.rounded-start`
Image Alignment & Figure Captions

Align images using helper classes (`.float-start`, `.float-end`, `.mx-auto .d-block`) and figure captions.

Sample Figure
A caption for the figure image above.
Aligned Left

This image is floated to the left using `.float-start`. Text wraps naturally around it.

Reusable Code Snippets

Copy and paste these image styling snippets directly into your workspace files.

Avatar Image Sizes & Shapes
<img src="assets/images/user_1.jpg" class="avatar-md rounded-circle" alt="User"> <img src="assets/images/user_2.jpg" class="avatar-lg img-thumbnail" alt="User">
Responsive Image & Figure Caption
<figure class="figure"> <img src="assets/images/card-cover-1.jpg" class="figure-img img-fluid rounded" alt="Cover"> <figcaption class="figure-caption">Image caption</figcaption> </figure>