Angular Bootstrap Cards
Angular cards - Bootstrap 4 & Material Design
Note: This documentation is for an older version of Bootstrap (v.4). A
newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for
Bootstrap 5.
Go to docs v.5
Angular Bootstrap cards are components which display content build of different elements with characteristic shadows, depth and hover effects.
It is hard to think of a better way of displaying your content to users other than by cards. Some of the biggest players like Facebook or Google are well aware of that, as you might have noticed in almost all their products.
Cards provide you with clarity, clean content categorisation and attractive form of presenting it to the users.
MDB enhances Bootstrap cards with characteristic Material Design features, such as slight shadows, depth, cascading or waves effects. Apart from that, it enriches it with additional optional animations, social icons, avatars and various other effects not available in a native Bootstrap.
Basic example

Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
ButtonWaves effect
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
ButtonCascading cards MDB Pro component
Add cascade="true"
to the mdb-card
to achieve cascading effect. You
can manipulate the width of the image by adding wider="true"
or narrower="true"
class to
the mdb-card
.
Wider
Narrower
Culinary
Cheat day inspirations
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.
ButtonCascading panels MDB Pro component
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.
Title of the news
26.07.2017
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex minis recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum.
Read more
Marta
Deserve for her own card
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam dignissimos neque rem nihil ratione est placeat vel, natus non quos laudantium veritatis sequi.Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam.
Reversed cascade MDB Pro component
Action button & footer MDB Pro component
Flat buttons MDB Pro component
The light version
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Read more
The dark version
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Read more
Testimonial card MDB Pro component
To change a background color use one of over 300 color classes from our colors or gradients palette.

Anna Doe
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci

Martha Smith
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos, adipisci
Image overlay
Marketing
This is card title
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem, optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos. Odit sed qui, dolorum!.
View projectSoftware
This is card title
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellat fugiat, laboriosam, voluptatem, optio vero odio nam sit officia accusamus minus error nisi architecto nulla ipsum dignissimos. Odit sed qui, dolorum!.
View projectCard groups
Use card groups to render cards as a single, attached element with equal width and height
columns. Card groups use display: flex;
to achieve their uniform sizing.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card decks
Need a set of equal width and height cards that aren’t attached to one another? Use card decks.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Angular Cards - API
In this section you will find informations about cards and its required modules and available inputs, outputs, methods and events.
Modules used
In order to speed up your application, you can choose to import only the modules you actually need, instead of importing the entire MDB Angular library. Remember that importing the entire library, and immediately afterwards a specific module, is bad practice, and can cause application errors.
Inputs
MdbCardComponent
Name | Type | Default | Description | Example |
---|---|---|---|---|
cascade |
boolean | false | Allow to set a cascade styles to the card. | cascade="true" |
wider |
boolean | false | Allow to set a wider styles to the card. | wider="true" |
narrower |
boolean | false | Allow to set a narrower styles to the card. | narrower="true" |
reverse |
boolean | false | Allow to reverse the styles of a card. | reverse="true" |
dark |
boolean | false | Allow to set a dark styles to the card. | dark="true" |
bgColor |
string | ' ' | Allow to add background color to the card by using class. | bgColor="bg-primary" |
borderColor |
string | ' ' | Allow to add border color to the card by using class. | borderColor="border-primary" |
MdbCardImageComponent
Name | Type | Default | Description | Example |
---|---|---|---|---|
src |
string | ' ' | Allow to set an image url for the card. | src="img/image1.webp" |
alt |
boolean | false | Allow to set a alt attribute to the card image. | alt="Alt image" |