Angular MDBootstrap Figures Content Last Updated : 12 Apr, 2025 Comments Improve Suggest changes Like Article Like Report MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make good-looking webpages with its seamless and easy-to-use component. It is free for both personal & commercial use. In this article, we will know how to use Figures Content in Angular MDBootstap. Figures Content is used to add figures in an element.MDBootstrap figures are used for displaying images with the caption. A caption can be left-aligned or right-aligned by default is left-aligned. Make sure you have added the 'img-fluid' class to your <img> tag to make your image responsive.Syntax:<figure class="figure"> <img src="link"> <figcaption class="figure-caption"> GeeksforGeeks </figcaption></figure>Approach:Download Angular MDBootstrapExtract the files and change to working directory.Install npm in the current project using the following command:npm installor npm install -yAfter creating your project folder i.e. appname, move to it using the following command:cd appnameStart the server using the following command:ng serveProject Structure: After complete installation, it will look like the following:Example 1: This is the basic example that illustrates how to use the Figures Content. app.component.html <div id='gfg'> <h2>GeeksforGeeks</h2> <h4>Angular MDBootstrap Figures Content</h4> <br /> <figure class="figure"> <img src= "https://media.geeksforgeeks.org/wp-content/cdn-uploads/gfg_200x200-min.png" class="figure-img img-fluid z-depth-1" style="width: 400px"> <figcaption class="figure-caption"> GeeksforGeeks </figcaption> </figure> </div> app.component.ts import { Component } from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { } app.module.ts import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppComponent } from './app.component'; import { MDBBootstrapModule } from 'angular-bootstrap-md'; import { FormsModule } from '@angular/forms'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, BrowserAnimationsModule, MDBBootstrapModule.forRoot(), FormsModule, ], providers: [], bootstrap: [AppComponent] }) export class AppModule { } Output: Comment More infoAdvertise with us Next Article Angular MDBootstrap Figures Content T taran910 Follow Improve Article Tags : Web Technologies AngularJS MDBootstrap Angular-MDBootstrap Angular-MDBootstrap-Content +1 More Similar Reads Angular MDBootstrap Forms File Component MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make attractive webpages with its seamless and easy-to-use component. In this article, we will know how to use Forms File Component in Angular MDBootstrap.The File Component allows a user to select a file from th 2 min read Angular MDBootstrap Loaders Component MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make attractive webpages with its seamless and easy-to-use component. In this article, we will know how to use Loaders Component in Angular MDBootstap. The Loaders Component is used to indicate the loading state 3 min read Angular MDBootstrap Icons MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make good-looking webpages with its seamless and easy-to-use component. In this article, we will know how to use Icons in Angular MDBootstap. Icons are a visual representation of any element which can be a link o 3 min read Angular MDBootstrap Forms Input Component MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make attractive webpages with its seamless and easy-to-use component. In this article, we will know how to use the Forms Input Component in Angular MDBootstrap.Forms Inputs Component allows a user to make a field 6 min read Angular MDBootstrap Forms Radio Component MDBootstrap is a Material Design and bootstrap-based Angular UI library that is used to make attractive webpages with its seamless and easy-to-use component. In this article, we will know how to use Forms Radio Component in Angular MDBootstrap.A Radio Button Component is a component that allows a us 4 min read Like