Support CoreUI Development
CoreUI is an MIT-licensed open source project and is completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.
You can support our Open Source software development in the following ways:
- Buy the CoreUI PRO and get access to all PRO components, features, templates, and dedicated support.
- Hire Us! We create stunning designs, high-conversion landing pages, functional mobile apps and reliable web services – everything you need to offer your products or services online and always stay a tap away from your customers.
- Give us a star ⭐️ on Github.
Documentation and examples for displaying related images and text with the figure component in Bootstrap.
Anytime you need to display a piece of content—like an image with an optional caption, consider using a
Use the included
.figure-caption classes to provide some baseline styles for the HTML5
<figcaption> elements. Images in figures have no explicit size, so be sure to add the
.img-fluid class to your
<img> to make it responsive.
<figure class="figure"> <img src="..." class="figure-img img-fluid rounded" alt="..."> <figcaption class="figure-caption">A caption for the above image.</figcaption> </figure>
Aligning the figure’s caption is easy with our text utilities.
<figure class="figure"> <img src="..." class="figure-img img-fluid rounded" alt="..."> <figcaption class="figure-caption text-end">A caption for the above image.</figcaption> </figure>
$figure-caption-font-size: $small-font-size; $figure-caption-color: $gray-600;