Rate these docs

Vue Bootstrap Cards

Vue Cards - Bootstrap 4 & Material Design

Vue 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 image cap

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Button

        <template>
          <mdb-card>
            <mdb-card-image src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%286%29.jpg" alt="Card image cap"></mdb-card-image>
            <mdb-card-body>
              <mdb-card-title>Basic card</mdb-card-title>
              <mdb-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</mdb-card-text>
              <mdb-btn color="primary">Button</mdb-btn>
            </mdb-card-body>
          </mdb-card>
        </template>
			

        <script>
          import { mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbBtn } from 'mdbvue';
          export default {
            name: 'CardPage',
            components: {
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbBtn
            }
          }
        </script>
      

Waves effect

Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Button

<template>
	<mdb-card>
		<mdb-view hover>
			<a href="#!">
				<mdb-card-image 
					src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%282%29.jpg" 
					alt="Card image cap"/>
				<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
			</a>
		</mdb-view>
		<mdb-card-body>
			<mdb-card-title>Card with waves effect</mdb-card-title>
			<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</mdb-card-text>
			<mdb-btn color="primary">Button</mdb-btn>
		</mdb-card-body>
	</mdb-card>
</template>
			

<script>
	import { mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbBtn, mdbView, mdbMask } from 'mdbvue';
	export default {
		name: 'CardPage',
		components: {
			mdbCard,
			mdbCardImage,
			mdbCardBody,
			mdbCardTitle,
			mdbCardText,
			mdbBtn,
			mdbView,
			mdbMask
		}
	}
</script>
      

Cascading cards MDB Pro component

Add cascade attribute to <mdb-card> to achieve cascading effect or wide / narrow to consider width relation of <mdb-card-image> to the <mdb-card> component.

Wider

Alice Mayer

Photographer

Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

Narrower

Culinary

Cheat day inspirations

Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.

Button

Regular

Billy Cullen

Web developer

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. Facere modi sunt, quod quibusdam.


<template>
	<mdb-container>
		<mdb-row>
			<mdb-col sm="4">
				<mdb-card wide>
					<mdb-view hover cascade>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/photo6.jpg" alt="Card image cap" ></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body class="text-center" cascade>
						<mdb-card-title><strong>Alison Belmont</strong></mdb-card-title>
						<h5 class="blue-text"><strong>Graffiti Artist</strong></h5>
						<mdb-card-text>Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</mdb-card-text>
						<a class="icons-sm li-ic"><mdb-icon fab icon="linkedin" /></a>
						<a class="icons-sm tw-ic"><mdb-icon fab icon="twitter" /></a>
						<a class="icons-sm fb-ic"><mdb-icon fab icon="facebook" /></a>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
			<mdb-col sm="4">
				<mdb-card narrow>
					<mdb-view hover cascade>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Lightbox/Thumbnail/img%20(147).jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body cascade>
						<h5 class="pink-text pb-2 pt-1"><mdb-icon icon="utensils" /> Culinary</h5>
						<mdb-card-title><strong>Cheat day inspirations</strong></mdb-card-title>
						<mdb-card-text>Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi.</mdb-card-text>
						<mdb-btn color="unique">Button</mdb-btn>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
			<mdb-col sm="4">
				<mdb-card cascade>
					<mdb-view hover cascade>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/men.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body class="text-center" cascade>
						<mdb-card-title><strong>Billy Cullen</strong></mdb-card-title>
						<h5>Web developer</h5>
						<mdb-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. mdbIconcere modi sunt, quod quibusdam.</mdb-card-text>
						<mdb-btn tag="a" floating small class="btn-fb"><mdb-icon fab icon="facebook" /></mdb-btn>
						<mdb-btn tag="a" floating small class="btn-tw"><mdb-icon fab icon="twitter" /></mdb-btn>
						<mdb-btn tag="a" floating small class="btn-dribbble"><mdb-icon fab icon="dribbble" /></mdb-btn>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
		</mdb-row>
	</mdb-container>
</template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Cascading panels

Mattonit

The Boar

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, 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

Deserves 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.



<template>
	<mdb-container>
		<mdb-row>
			<mdb-col sm="4">
				<mdb-card narrow>
					<mdb-view gradient="purple" cascade>
						<h2 class="card-header-title">Ally Cook</h2>
						<p>Follow me</p>
						<mdb-btn tag="a" floating transparent small><mdb-icon fab icon="facebook-f" /></mdb-btn>
						<mdb-btn tag="a" floating transparent small><mdb-icon fab icon="twitter" /></mdb-btn>
						<mdb-btn tag="a" floating transparent small><mdb-icon fab icon="google-plus-g" /></mdb-btn>
					</mdb-view>
					<mdb-card-body class="text-center" cascade>
						<mdb-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. mdbIconcere 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 commod</mdb-card-text>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
			<mdb-col sm="4">
				<mdb-card wide>
					<mdb-view gradient="peach" cascade>
						<h2 class="card-header-title mb-3">Title of the news</h2>
						<p class="mb-0"><mdb-icon icon="calendar-alt" /> 26.07.2017</p>
					</mdb-view>
					<mdb-card-body class="text-center" cascade>
						<mdb-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. mdbIconcere 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.</mdb-card-text>
						<a class="orange-text mt-1 d-flex flex-row-reverse">
							<h5 class="p-2" waves>Read more <mdb-icon icon="angle-double-right" /></h5>
						</a>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
			<mdb-col sm="4">
				<mdb-card cascade>
					<mdb-view gradient="blue" cascade>
						<h2 class="card-header-title">Marta</h2>
						<p class="mb-0">Deserves her own card</p>
					</mdb-view>
					<mdb-card-body class="text-center" cascade>
						<mdb-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus, ex, recusandae. mdbIconcere 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.</mdb-card-text>
						<hr/>
						<a class="px-2 icons-sm tw-ic"><mdb-icon fab icon="twitter" size="lg" /></a>
						<a class="px-2 icons-sm li-ic"><mdb-icon fab icon="linkedin-in" size="lg" /></a>
						<a class="px-2 icons-sm fb-ic"><mdb-icon fab icon="facebook-f" size="lg" /></a>
						<a class="px-2 icons-sm email-ic"><mdb-icon icon="envelope" size="lg" /></a>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
		</mdb-row>
	</mdb-container>
</template>
			

<script>
	import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
	export default {
		name: 'CardProPage',
		components: {
			mdbContainer,
			mdbRow,
			mdbCol,
			mdbCard,
			mdbCardImage,
			mdbCardHeader,
			mdbCardBody,
			mdbCardTitle,
			mdbCardText,
			mdbCardFooter,
			mdbCardUp,
			mdbCardAvatar,
			mdbCardGroup,
			mdbBtn,
			mdbView,
			mdbMask,
			mdbIcon
		}
	}
</script>
			

Reversed cascade

My adventure
Photography

Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque laudantium, totam rem aperiam.


<template>
	<mdb-container>
		<mdb-row>
			<mdb-card reverse>
				<mdb-view hover cascade>
					<a href="#!">
						<mdb-card-image src="https://mdbootstrap.com/img/Photos/Slides/img%20(70).jpg" alt="Card image cap"></mdb-card-image>
						<mdb-mask waves overlay="white-slight"></mdb-mask>
					</a>
				</mdb-view>
				<mdb-card-body class="text-center" cascade>
					<mdb-card-title><strong>My adventure</strong></mdb-card-title>
					<h5 class="indigo-text"><strong>Photography</strong></h5>
					<mdb-card-text>Sed ut perspiciatis unde omnis iste natus sit voluptatem accusantium doloremque
						laudantium, totam rem aperiam.</mdb-card-text>
					<a class="px-2 fa-lg li-ic">
						<mdb-icon fab icon="linkedin"/></a>
					<a class="px-2 fa-lg tw-ic">
						<mdb-icon fab icon="twitter"/></a>
					<a class="px-2 fa-lg fb-ic">
						<mdb-icon fab icon="facebook"/></a>
				</mdb-card-body>
			</mdb-card>
		</mdb-row>
	</mdb-container>
</template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Action button & footer MDB Pro component

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.


<template>
	<mdb-container>
		<mdb-row>
			<mdb-col sm="4">
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/food.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-btn tag="a" floating action class="ml-auto mr-4 mdb-color lighten-3">
						<mdb-icon icon="chevron-right" class="pl-1" />
					</mdb-btn>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<hr />
						<p class="font-small grey-dark-text mb-0">Some quick example text to build on the card title
							and make up the bulk of the card's content.</p>
					</mdb-card-body>
					<mdb-card-footer color="mdb-color" class="lighten-3 p-0 text-center">
						<ul class="list-unstyled list-inline font-small mt-3">
							<li class="list-inline-item pr-2 white-text">
								<mdb-icon far icon="clock" class="pr-1" />05/10/2015</li>
							<li class="list-inline-item pr-2"><a href="#" class="white-text">
								<mdb-icon far icon="comments" class="pr-1" />12</a></li>
							<li class="list-inline-item pr-2"><a href="#" class="white-text">
								<mdb-icon fab icon="facebook" class="pr-1" />21</a></li>
							<li class="list-inline-item"><a href="#" class="white-text">
								<mdb-icon fab icon="twitter" class="pr-1" />5</a></li>
						</ul>
					</mdb-card-footer>
				</mdb-card>
			</mdb-col>
		</mdb-row>
	</mdb-container>
</template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Flat buttons MDB Pro component

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

<template>
	<mdb-container>
		<mdb-row>
			<mdb-col sm="4">
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%28131%29.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<a class="activator mr-4"><mdb-icon icon="share-alt" /></a>
						<mdb-card-title>Light version</mdb-card-title>
						<hr/>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</mdb-card-text>
						<a class="black-text d-flex justify-content-end"><h5>Read more <mdb-icon icon="angle-double-right" class="pl-1" /></h5></a>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
		</mdb-row>
	</mdb-container>
</template>
			

<script>
	import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
	export default {
		name: 'CardProPage',
		components: {
			mdbContainer,
			mdbRow,
			mdbCol,
			mdbCard,
			mdbCardImage,
			mdbCardHeader,
			mdbCardBody,
			mdbCardTitle,
			mdbCardText,
			mdbCardFooter,
			mdbCardUp,
			mdbCardAvatar,
			mdbCardGroup,
			mdbBtn,
			mdbView,
			mdbMask,
			mdbIcon
		}
	}
</script>
      

Dark version

Add a prop card-dark to use a dark variation.

Card title


Some quick example text to build on the card title and make up the bulk of the card's content.

Read more

<template>
	<mdb-container>
		<mdb-row>
			<mdb-col sm="4">
				<mdb-card dark>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Horizontal/Nature/4-col/img%20%28131%29.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body color="elegant" class="white-text">
						<a class="activator mr-4"><mdb-icon icon="share-alt" /></a>
						<mdb-card-title>Dark version</mdb-card-title>
						<hr class="hr-light"/>
						<p class="font-small mb-3">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
						<a class="white-text d-flex justify-content-end"><h5>Read more <mdb-icon icon="angle-double-right" class="pl-1" /></h5></a>
					</mdb-card-body>
				</mdb-card>
			</mdb-col>
		</mdb-row>
	</mdb-container>
</template>
			

<script>
	import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
	export default {
		name: 'CardProPage',
		components: {
			mdbContainer,
			mdbRow,
			mdbCol,
			mdbCard,
			mdbCardImage,
			mdbCardHeader,
			mdbCardBody,
			mdbCardTitle,
			mdbCardText,
			mdbCardFooter,
			mdbCardUp,
			mdbCardAvatar,
			mdbCardGroup,
			mdbBtn,
			mdbView,
			mdbMask,
			mdbIcon
		}
	}
</script>
      

Testimonial card MDB Pro component

To change a background color use one of over 300 color classes from our palette.

woman avatar

Anna Doe


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

woman avatar

Martha Smith


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


        <template>
          <mdb-container>
            <mdb-row>
              <mdb-col sm="4">
                <mdb-card testimonial>
                  <mdb-card-up color="indigo" class="lighten-1"></mdb-card-up>
                  <mdb-card-avatar color="white" class="mx-auto"><img src="https://mdbootstrap.com/img/Photos/Avatars/img%20%2810%29.jpg" class="rounded-circle"></mdb-card-avatar>
                  <mdb-card-body>
                    <mdb-card-title>Anna Doe</mdb-card-title>
                    <hr />
                    <p>
                      <mdb-icon icon="quote-left" /> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos,
                      adipisci</p>
                  </mdb-card-body>
                </mdb-card>
              </mdb-col>
              <mdb-col sm="4">
                <mdb-card testimonial>
                  <mdb-card-up gradient="aqua" class="lighten-1"></mdb-card-up>
                  <mdb-card-avatar color="white" class="mx-auto"><img src="https://mdbootstrap.com/img/Photos/Avatars/img%20%2831%29.jpg" class="rounded-circle"></mdb-card-avatar>
                  <mdb-card-body>
                    <mdb-card-title>Martha Smith</mdb-card-title>
                    <hr />
                    <p>
                      <mdb-icon icon="quote-left" /> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos,
                      adipisci</p>
                  </mdb-card-body>
                </mdb-card>
              </mdb-col>
            </mdb-row>
          </mdb-container>
        </template>        
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Image overlay MDB Pro component

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 project
Software

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 project

        <template>
          <mdb-container>
            <mdb-row>
              <mdb-col sm="6">
                <mdb-card class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
                  <div class="text-white text-center d-flex align-items-center rgba-black-strong py-5 px-4">
                    <div>
                      <h5 class="pink-text">
                        <mdb-icon icon="chart-pie" /> Marketing</h5>
                      <mdb-card-title tag="h3" class="pt-2"><strong>This is card title</strong></mdb-card-title>
                      <p>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!.</p>
                      <mdb-btn color="pink"><mdb-icon icon="clone left" /> View project</mdb-btn>
                    </div>
                  </div>
                </mdb-card>
              </mdb-col>
              <mdb-col sm="6">
                <mdb-card class="card-image" style="background-image: url('https://mdbootstrap.com/img/Photos/Horizontal/City/6-col/img%20(47).jpg')">
                  <div class="text-white text-center d-flex align-items-center rgba-indigo-strong py-5 px-4">
                    <div>
                      <h5 class="orange-text">
                        <mdb-icon icon="desktop" /> Software</h5>
                      <mdb-card-title tag="h3" class="pt-2"><strong>This is card title</strong></mdb-card-title>
                      <p>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!.</p>
                      <mdb-btn color="deep-orange"><mdb-icon icon="clone left" /> View project</mdb-btn>
                    </div>
                  </div>
                </mdb-card>
              </mdb-col>
            </mdb-row>
          </mdb-container>
        </template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Card 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.


<template>
	<mdb-container>
		<mdb-row>
			<mdb-card-group>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/49.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/48.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/77.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
			</mdb-card-group>
		</mdb-row>
	</mdb-container>
</template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

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.


<template>
	<mdb-container>
		<mdb-row>
			<mdb-card-group deck>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/16.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/14.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
				<mdb-card>
					<mdb-view hover>
						<a href="#!">
							<mdb-card-image src="https://mdbootstrap.com/img/Photos/Others/images/15.jpg" alt="Card image cap"></mdb-card-image>
							<mdb-mask flex-center waves overlay="white-slight"></mdb-mask>
						</a>
					</mdb-view>
					<mdb-card-body>
						<mdb-card-title>Card title</mdb-card-title>
						<mdb-card-text>Some quick example text to build on the card title and make up the bulk of the
							card's content.</mdb-card-text>
						<mdb-btn color="primary">Read more</mdb-btn>
					</mdb-card-body>
				</mdb-card>
			</mdb-card-group>
		</mdb-row>
	</mdb-container>
</template>
			

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardHeader, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardFooter, mdbCardUp, mdbCardAvatar, mdbCardGroup, mdbBtn, mdbView, mdbMask, mdbIcon } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardHeader,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardFooter,
              mdbCardUp,
              mdbCardAvatar,
              mdbCardGroup,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon
            }
          }
        </script>
      

Flipping cards MDB Pro component

Bootstrap flipping card is a card animation that gives an element effect of flipping to the other side upon the interaction. The Vue component is in fact a wrapper taking in two cards (holding face front and face back classes) and a flipped boolean prop responsible for rendering either side. This way you can apply your own flip-firing logic wherever you like.

See the two basic Vue Bootstrap flipping card examples:

Image with a photo of clouds.
Sample avatar image.

Marie Johnson

Web developer

Click here to rotate

About me


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum, officia laudantium quaerat?


Click here to rotate back

        <template>
          <mdb-flipping-card :flipped="flipped" innerClass="text-center h-100 w-100" style="max-width: 22rem">
            <mdb-card class="face front">
              <mdb-card-up>
                <img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/photo7.jpg" alt="a photo of a house facade" />
              </mdb-card-up>
              <mdb-avatar class="mx-auto white" circle>
                <img src="https://mdbootstrap.com/img/Photos/Avatars/img%20(20).jpg" class="rounded-circle" />
              </mdb-avatar>
              <mdb-card-body>
                <h4 class="font-weight-bold mb-3">Marie Johnson</h4>
                <p class="font-weight-bold blue-text">Web developer</p>
                <a class="rotate-btn" @click="flipped=true">
                  <mdb-icon icon="redo-alt" /> Click here to rotate</a>
              </mdb-card-body>
            </mdb-card>
            <mdb-card class="face back">
              <mdb-card-body>
                <h4 class="font-weight-bold">About me</h4>
                <hr />
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maxime quae, dolores dicta. Blanditiis rem
                  amet repellat, dolores nihil quae in mollitia asperiores ut rerum repellendus, voluptatum eum,
                  officia laudantium quaerat?
                </p>
                <hr />
                <ul class="list-inline py-2">
                  <li class="list-inline-item"><a class="p-2 fa-lg fb-ic">
                    <mdb-icon fab icon="facebook" /></a></li>
                  <li class="list-inline-item"><a class="p-2 fa-lg tw-ic">
                    <mdb-icon fab icon="twitter" /></a></li>
                  <li class="list-inline-item"><a class="p-2 fa-lg gplus-ic">
                    <mdb-icon fab icon="google-plus" /></a></li>
                  <li class="list-inline-item"><a class="p-2 fa-lg li-ic">
                    <mdb-icon fab icon="linkedin" /></a></li>
                </ul>
                <a class="rotate-btn" @click="flipped=false">
                  <mdb-icon icon="undo" /> Click here to rotate back</a>
              </mdb-card-body>
            </mdb-card>
          </mdb-flipping-card>
        </template>
			

        <script>
          import { mdbCard, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardUp, mdbBtn, mdbIcon, mdbFlippingCard, mdbAvatar } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbCard,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardUp,
              mdbBtn,
              mdbIcon,
              mdbFlippingCard,
              mdbAvatar
            },
            data() {
              return {
                flipped: false,
              };
            }
          }
        </script>
      

Click on the button to launch the animation.

Card title

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat tenetur odio suscipit non commodi vel eius veniam maxime.

Read more

Social shares


Join our community


        <template>
          <mdb-flipping-card :flipped="flipped" innerClass="h-100 w-100" style="max-width: 22rem">
            <mdb-card class="face front">
              <mdb-view hover>
                <img class="card-img-top" src="https://mdbootstrap.com/img/Photos/Others/photo5.jpg" alt="Example photo">
                <a>
                  <mdb-mask overlay="white-slight" /></a>
              </mdb-view>
              <mdb-card-body>
                <a class="rotate-btn float-right">
                  <mdb-icon icon="share-alt" class="fa-lg" @click.native="flipped=true"></mdb-icon>
                </a>
                <h4>Card title</h4>
                <hr>
                <mdb-card-text>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat tenetur odio suscipit non
                  commodi vel eius veniam maxime.</mdb-card-text>
                <a class="link-text">
                  <h5>Read more <mdb-icon icon="angle-double-right"></mdb-icon>
                  </h5>
                </a>
              </mdb-card-body>
            </mdb-card>
            <mdb-card class="face back">
              <div class="text-center">
                <mdb-card-title class="font-weight-bold my-4">Social shares
                  <mdb-icon icon="close" class="text-muted" @click.native="flipped=false" />
                </mdb-card-title>
                <hr />
                <ul class="list-unstyled d-flex justify-content-center flex-wrap list-inline my-4">
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="dribbble">
                      <mdb-icon fab icon="dribbble" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="slack">
                      <mdb-icon fab icon="slack" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="ins">
                      <mdb-icon fab icon="instagram" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="pin">
                      <mdb-icon fab icon="pinterest" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="tw">
                      <mdb-icon fab icon="twitter" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="gplus">
                      <mdb-icon fab icon="google-plus" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" floating color="git">
                      <mdb-icon fab icon="github" />
                    </mdb-btn>
                  </li>
                </ul>
                <h5 class="font-weight-bold my-4">Join our community</h5>
                <hr />
                <ul class="list-unstyled list-inline d-flex justify-content-center flex-wrap mt-4">
                  <li class="list-inline-item">
                    <mdb-btn tag="a" color="fb" class="px-4">
                      <mdb-icon fab icon="facebook" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" color="tw" class="px-4">
                      <mdb-icon fab icon="twitter" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" color="li" class="px-4">
                      <mdb-icon fab icon="linkedin" />
                    </mdb-btn>
                  </li>
                  <li class="list-inline-item">
                    <mdb-btn tag="a" color="ins" class="px-4">
                      <mdb-icon fab icon="instagram" />
                    </mdb-btn>
                  </li>
                </ul>
              </div>
            </mdb-card>
          </mdb-flipping-card>
        </template>
			

        <script>
          import { mdbCard, mdbCardBody, mdbCardTitle, mdbCardText, mdbCardUp, mdbBtn, mdbView, mdbMask, mdbIcon, mdbFlippingCard } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbCard,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbCardUp,
              mdbBtn,
              mdbView,
              mdbMask,
              mdbIcon,
              mdbFlippingCard
            },
            data() {
              return {
                flipped: false,
              };
            }
          }
        </script>
      

Cards - API

In this section you will find advanced information about the Cards component. You will learn which modules are required in this component, what are the possibilities of configuring the component, and what events and methods you can use in working with it.


Import statement


import { mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText } from 'mdbvue';
      

API Reference: Properties

Name Type Default Description Example
tag String 'div' Changes card's wrapper tag <mdb-card tag="p" />
cascade Boolean false Achieving cascading effect <mdb-card cascade />
wide Boolean false Achieving cascading wide effect <mdb-card wide />
narrow Boolean false Achieving cascading narrow effect <mdb-card narrow />
reverse Boolean false Achieving cascading reversed effect <mdb-card reverse />
dark Boolean false Changes light card into dark one <mdb-card dark />
testimonial Boolean false Changes card layout to testimonial <mdb-card testimonial />
personal Boolean false Changes card layout to personal <mdb-card personal />
news Boolean false Changes card layout to news <mdb-card news />
news Boolean false Changes card layout to news <mdb-card news />
ecommerce Boolean false Changes card layout to ecommerce <mdb-card ecommerce />
collection Boolean false Changes card layout to collection <mdb-card collection />
pricing Boolean false Changes card layout to pricing <mdb-card pricing />
color String Changes card color <mdb-card color="primary" />
textColor String Changes card textColor <mdb-card textColor="success" />
border String Changes card border <mdb-card border="warning" />

Cards - examples & customization


Promoting card MDB Pro component

avatar

New spicy meals

07/24/2018

Recently, we added several exotic new dishes to the menu of our restaurant. They come from countries such as Mexico, Argentina, and Spain. Come to us, have a delicious wine and enjoy the juicy meals from around the world.


        <template>
          <mdb-container>
            <mdb-card class="promoting-card" style="width: 22rem">
              <mdb-card-body class="d-flex flex-row">
                <img src="https://mdbootstrap.com/img/Photos/Avatars/avatar-8.jpg" class="rounded-circle mr-3" height="50px" width="50px" alt="avatar" />
                <div>
                  <mdb-card-title class="font-weight-bold mb-2">New spicy meals</mdb-card-title>
                  <mdb-card-text><mdb-icon far icon="clock" class="pr-2" />07/24/2018</mdb-card-text>
                </div>
              </mdb-card-body>
              <mdb-view>
                <a href="#!">
                  <mdb-card-image top class="rounded-0" src="https://mdbootstrap.com/img/Photos/Horizontal/Food/full page/2.jpg" alt="Card image cap"/>
                  <mdb-mask overlay="white-slight" waves />
                </a>
              </mdb-view>
              <mdb-card-body>
                <div class="collapse-content">
                  <mdb-card-text :class="['collapse', show1 && 'show']" ref="collapse1" :style="'height:' + height1">Recently, we added several exotic new dishes to the menu of our restaurant. They come from countries such as Mexico, Argentina, and Spain. Come to us, have a delicious wine and enjoy the juicy meals from around the world.</mdb-card-text>
                  <mdb-btn @click.native="toggle1" tag="a" flat darkWaves :class="['red-text p-1 my-1 mr-0', !show1 && 'collapsed']"></mdb-btn>
                  <mdb-tooltip trigger="hover" :options="{placement: 'top'}">
                    <div class="tooltip">Share this post</div>
                    <mdb-icon slot="reference" icon="share-alt" class="text-muted float-right p-1 my-1"/>
                  </mdb-tooltip>
                  <mdb-tooltip trigger="hover" :options="{placement: 'top'}">
                    <div class="tooltip">I like it</div>
                    <mdb-icon slot="reference" icon="heart" class="text-muted float-right p-1 my-1 mr-3"/>
                  </mdb-tooltip>
                </div>
              </mdb-card-body>
            </mdb-card>
          </mdb-container>
        </template>
      

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbIcon, mdbView, mdbMask, mdbBtn, mdbTooltip } from 'mdbvue';
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbIcon,
              mdbView,
              mdbMask,
              mdbBtn,
              mdbTooltip
            },
            data() {
              return {
                show1: false,
                height1: '2.65rem'
              };
            },
            mounted() {
              this.fullHeight1 = this.$refs.collapse1.$el.scrollHeight + 'px';
              this.fullHeight2 = '100%';
            },
            methods: {
              toggle1() {
                this.show1 = !this.show1;
                this.show1 ? this.height1 = this.fullHeight1 : this.height1 = '2.65rem';
              }
            }
          }
        </script>
      

        <!-- Add "scoped" attribute to limit CSS to this component only -->
        <style scoped>
            .collapse {
              transition: height 0.3s;  
            }
            .collapse-item {
              transition: all 0.5s;  
            }
            .collapse-content .fas.fa-heart:hover {
              color: #f44336 !important;
            }
            .collapse-content .fas.fa-share-alt:hover {
              color: #0d47a1 !important;
            }
        </style>

      

Weather card MDB Pro component

Warsaw

Mon, 12:30 PM, Mostly Sunny

23

3% Precipitation

21 hm/h Winds

  • 8AM
  • 11AM
  • 2PM
  • 5PM
  • 8PM
Tuesday

24°/12°

Wednesday

19°/10°

Thursday

23°/15°

Friday

26°/19°

Saturday

20°/16°

Sunday

22°/13°



        <template>
          <mdb-container>
            <mdb-card class="weather-card" style="width: 22rem">
              <mdb-card-body class="pb-3">
                <mdb-card-title class="font-weight-bold">Warsaw</mdb-card-title>
                <mdb-card-text>Mon, 12:30 PM, Mostly Sunny</mdb-card-text>
                <div class="d-flex justify-content-between">
                  <p class="display-1 degree">23</p>
                  <mdb-icon far icon="sun" size="5x" class="pt-3 amber-text" />
                </div>
                <div class="d-flex justify-content-between mb-4">
                  <p><mdb-icon icon="tint" size="lg" class="text-info pr-2"/>3% Precipitation</p>
                  <p><mdb-icon icon="leaf" size="lg" class="grey-text pr-2"/>21 hm/h Winds</p>
                </div>
                <mdb-progress color="dark" :value="40" />
                <ul class="list-unstyled d-flex justify-content-between font-small text-muted mb-4">
                  <li class="pl-4">8AM</li>
                  <li>11AM</li>
                  <li>2PM</li>
                  <li>5PM</li>
                  <li class="pr-4">8PM</li>
                </ul>
                <div class="collapse-content">
      
                  <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                    <div v-if="show2" class="collapse-item">
                      <mdb-tbl borderless sm class="mb-0">
                        <tbody>
                          <tr>
                            <td class="font-weight-normal align-middle">Tuesday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">24&deg;<span class="text-muted">/12&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon far icon="sun" size="lg" class="amber-text" />
                            </td>
                          </tr>
                          <tr>
                            <td class="font-weight-normal align-middle">Wednesday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">19&deg;<span class="text-muted">/10&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon icon="cloud" size="lg" class="text-info" />
                            </td>
                          </tr>
                          <tr>
                            <td class="font-weight-normal align-middle">Thursday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">23&deg;<span class="text-muted">/15&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon far icon="sun" size="lg" class="amber-text" />
                            </td>
                          </tr>
                          <tr>
                            <td class="font-weight-normal align-middle">Friday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">26&deg;<span class="text-muted">/19&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon far icon="sun" size="lg" class="amber-text" />
                            </td>
                          </tr>
                          <tr>
                            <td class="font-weight-normal align-middle">Saturday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">20&deg;<span class="text-muted">/16&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon icon="cloud" size="lg" class="text-info" />
                            </td>
                          </tr>
                          <tr>
                            <td class="font-weight-normal align-middle">Sunday</td>
                            <td class="float-right font-weight-normal">
                              <p class="mb-1">22&deg;<span class="text-muted">/13&deg;</span></p>
                            </td>
                            <td class="float-right mr-3">
                              <mdb-icon far icon="sun" size="lg" class="amber-text" />
                            </td>
                          </tr>
                        </tbody>
                      </mdb-tbl>
                    </div>
                  </transition>
                  <hr />
                  <mdb-btn tag="a" @click.native="show2 = !show2" :class="['p-1 my-1 mr-0 deep-purple-text', !show2 && 'collapsed']" flat darkWaves aria-expanded="false" aria-controls="collapseExample" />
                </div>
              </mdb-card-body>
            </mdb-card>
          </mdb-container>
        </template>
      

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbIcon, mdbView, mdbMask, mdbBtn, mdbTooltip, mdbProgress, mdbTbl } from 'mdbvue';
      
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbIcon,
              mdbView,
              mdbMask,
              mdbBtn,
              mdbTooltip,
              mdbProgress,
              mdbTbl
            },
            data() {
              return {
                show2: false
              };
            },
            methods: {
              beforeEnter(el) {
                el.style.height = '0';
                el.style.opacity = '0';
              },
              enter(el) {
                el.style.height = el.scrollHeight + 'px';
                el.style.opacity = '1';
              },
              beforeLeave(el) {
                el.style.height = el.scrollHeight + 'px';
                el.style.opacity = '1';
              },
              leave(el) {
                el.style.height = '0';
                el.style.opacity = '0';
              }
            }
          }
        </script>
      

        <!-- Add "scoped" attribute to limit CSS to this component only -->
        <style scoped>
          .collapse {
            transition: height 0.3s;  
          }
          .collapse-item {
            transition: all 0.5s;  
          }
          .card.weather-card .collapse-content a.collapsed:after {
            content: 'Expand'; }
          
          .card.weather-card .collapse-content a:not(.collapsed):after {
            content: 'Collapse'; }
        </style>

      

Booking card MDB Pro component

La Sirena restaurant

  • 4.5 (413)

$ • American, Restaurant

Some quick example text to build on the card title and make up the bulk of the card's content.


Tonight's availability

  • 5:30PM
  • 7:30PM
  • 8:00PM
  • 9:00PM
Button


        <template>
          <mdb-container>
            <mdb-card class="booking-card" style="width: 22rem">
              <mdb-view>
                <a href="#!">
                  <mdb-card-image top src="https://mdbootstrap.com/img/Photos/Horizontal/Food/8-col/img (5).jpg" alt="Card image cap" />
                  <mdb-mask overlay="white-slight" waves />
                </a>
              </mdb-view>
              <mdb-card-body>
                <mdb-card-title class="font-weight-bold"><a>La Sirena restaurant</a></mdb-card-title>
                <ul class="list-unstyled list-inline rating mb-0">
                  <li class="list-inline-item mr-0"><mdb-icon icon="star" class="amber-text" /></li>
                  <li class="list-inline-item mr-0"><mdb-icon icon="star" class="amber-text" /></li>
                  <li class="list-inline-item mr-0"><mdb-icon icon="star" class="amber-text" /></li>
                  <li class="list-inline-item mr-0"><mdb-icon icon="star" class="amber-text" /></li>
                  <li class="list-inline-item"><mdb-icon icon="star-half-alt" class="amber-text" /></li>
                  <li class="list-inline-item"><p class="text-muted">4.5 (413)</p></li>
                </ul>
                <p class="mb-2">$ • American, Restaurant</p>
                <mdb-card-text>Some quick example text to build on the card title and make up the bulk of the card's content.</mdb-card-text>
                <hr class="my-4">
                <p class="lead"><strong>Tonight's availability</strong></p>
                <ul class="list-unstyled list-inline d-flex justify-content-between mb-0">
                  <li class="list-inline-item mr-0">
                    <mdb-chip waves class="mr-0">5:30PM</mdb-chip>
                  </li>
                  <li class="list-inline-item mr-0">
                    <mdb-chip waves class="deep-purple white-text mr-0">7:30PM</mdb-chip>
                  </li>
                  <li class="list-inline-item mr-0">
                    <mdb-chip waves class="mr-0">8:00PM</mdb-chip>
                  </li>
                  <li class="list-inline-item mr-0">
                    <mdb-chip waves class="mr-0">9:00PM</mdb-chip>
                  </li>
                </ul>
                <mdb-btn tag="a" flat darkWaves class="deep-purple-text p-1 mx-0 mb-0">Button</mdb-btn>
              </mdb-card-body>
            </mdb-card>
          </mdb-container>
        </template>
      

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbIcon, mdbView, mdbMask, mdbBtn, mdbTooltip, mdbChip } from 'mdbvue';
          
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbIcon,
              mdbView,
              mdbMask,
              mdbBtn,
              mdbTooltip,
              mdbChip
            }
          }
        </script>
      

        <!-- Add "scoped" attribute to limit CSS to this component only -->
        <style scoped>
          .collapse {
            transition: height 0.3s;  
          }
          .collapse-item {
            transition: all 0.5s;  
          }
        </style>

      

Gradient cards MDB Pro component

Today's sale

2000$

Better than last week (25%)

Details

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.

Subscriptions

200

Worse than last week (25%)

Details

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.

Traffic

20000

Worse than last week (75%)

Details

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.

Organic traffic

2000

Better than last week (50%)

Details

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.


        <template>
          <mdb-container>
            <mdb-row>
              <mdb-col md="6" class="mb-4">
                <mdb-card :class="['gradient-card', gradient1 && 'show']" @click.native="gradient1 = true" v-on-clickaway="away1">
                  <div class="d-flex d-inline-flex">
                    <div class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
                      <a>
                        <mdb-mask waves class="text-white d-flex h-100 blue-gradient-rgba">
                          <div class="first-content align-self-center p-3" v-if="!gradient1">
                            <h3 class="card-title font-weight-bold">Today's sales</h3>
                            <p class="lead mb-0">Click on this card to see details</p>
                          </div>
                          <div class="second-content align-self-center mx-auto text-center" v-if="gradient1">
                            <mdb-icon icon="money-bill" size="3x" />
                          </div>
                        </mdb-mask>
                      </a>
                    </div>
                    <!-- Data -->
                    <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                      <div class="third-content collapse-item mt-4 mb-2 mr-4 text-right justify-content-end ml-auto" v-if="gradient1">
                        <p class="text-uppercase text-muted">Today's sales</p>
                        <h4 class="font-weight-bold">2000$</h4>
                      </div>
                    </transition>
                  </div>
                  <!-- Content -->
                  <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                    <mdb-card-body class="collapse-item" v-if="gradient1">
                      <mdb-progress color="primary" :value="25" />
                      <p class="text-muted">Better than last week (25%)</p>
                      <h4 class="text-uppercase font-weight-bold my-4">Details</h4>
                      <p class="text-muted" align="justify">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.</p>
                    </mdb-card-body>
                  </transition>
                </mdb-card>
              </mdb-col>
              <mdb-col md="6" class="mb-4">
                <mdb-card :class="['gradient-card', gradient2 && 'show']" @click.native="gradient2 = true" v-on-clickaway="away2">
                  <div class="d-flex d-inline-flex">
                    <div class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
                      <a>
                        <mdb-mask waves class="text-white d-flex h-100 purple-gradient-rgba">
                          <div class="first-content align-self-center p-3" v-if="!gradient2">
                            <h3 class="card-title font-weight-bold">Subscriptions</h3>
                            <p class="lead mb-0">Click on this card to see details</p>
                          </div>
                          <div class="second-content align-self-center mx-auto text-center" v-if="gradient2">
                            <mdb-icon icon="chart-line" size="3x" />
                          </div>
                        </mdb-mask>
                      </a>
                    </div>
                    <!-- Data -->
                    <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                      <div class="third-content collapse-item mt-4 mb-2 mr-4 text-right justify-content-end ml-auto" v-if="gradient2">
                        <p class="text-uppercase text-muted">Subscriptions</p>
                        <h4 class="font-weight-bold">200</h4>
                      </div>
                    </transition>
                  </div>
                  <!-- Content -->
                  <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                    <mdb-card-body class="collapse-item" v-if="gradient2">
                      <mdb-progress color="purple" :value="25" />
                      <p class="text-muted">Worse than last week (25%)</p>
                      <h4 class="text-uppercase font-weight-bold my-4">Details</h4>
                      <p class="text-muted" align="justify">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.</p>
                    </mdb-card-body>
                  </transition>
                </mdb-card>
              </mdb-col>
            </mdb-row>
            <mdb-row>
              <mdb-col md="6" class="mb-4">
                <mdb-card :class="['gradient-card', gradient3 && 'show']" @click.native="gradient3 = true" v-on-clickaway="away3">
                  <div class="d-flex d-inline-flex">
                    <div class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
                      <a>
                        <mdb-mask waves class="text-white d-flex h-100 peach-gradient-rgba">
                          <div class="first-content align-self-center p-3" v-if="!gradient3">
                            <h3 class="card-title font-weight-bold">Traffic</h3>
                            <p class="lead mb-0">Click on this card to see details</p>
                          </div>
                          <div class="second-content align-self-center mx-auto text-center" v-if="gradient3">
                            <mdb-icon icon="chart-pie" size="3x" />
                          </div>
                        </mdb-mask>
                      </a>
                    </div>
                    <!-- Data -->
                    <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                      <div class="third-content collapse-item mt-4 mb-2 mr-4 text-right justify-content-end ml-auto" v-if="gradient3">
                        <p class="text-uppercase text-muted">Traffic</p>
                        <h4 class="font-weight-bold">20000</h4>
                      </div>
                    </transition>
                  </div>
                  <!-- Content -->
                  <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                    <mdb-card-body class="collapse-item" v-if="gradient3">
                      <mdb-progress color="amber" :value="75" />
                      <p class="text-muted">Worse than last week (75%)</p>
                      <h4 class="text-uppercase font-weight-bold my-4">Details</h4>
                      <p class="text-muted" align="justify">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.</p>
                    </mdb-card-body>
                  </transition>
                </mdb-card>
              </mdb-col>
              <mdb-col md="6" class="mb-4">
                <mdb-card :class="['gradient-card', gradient4 && 'show']" @click.native="gradient4 = true" v-on-clickaway="away4">
                  <div class="d-flex d-inline-flex">
                    <div class="card-image" style="background-image: url(https://mdbootstrap.com/img/Photos/Horizontal/Work/4-col/img%20%2814%29.jpg)">
                      <a>
                        <mdb-mask waves class="text-white d-flex h-100 aqua-gradient-rgba">
                          <div class="first-content align-self-center p-3" v-if="!gradient4">
                            <h3 class="card-title font-weight-bold">Organic traffic</h3>
                            <p class="lead mb-0">Click on this card to see details</p>
                          </div>
                          <div class="second-content align-self-center mx-auto text-center" v-if="gradient4">
                            <mdb-icon icon="chart-bar" size="3x" />
                          </div>
                        </mdb-mask>
                      </a>
                    </div>
                    <!-- Data -->
                    <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                      <div class="third-content collapse-item mt-4 mb-2 mr-4 text-right justify-content-end ml-auto" v-if="gradient4">
                        <p class="text-uppercase text-muted">Organic traffic</p>
                        <h4 class="font-weight-bold">2000</h4>
                      </div>
                    </transition>
                  </div>
                  <!-- Content -->
                  <transition @before-enter="beforeEnter" @enter="enter" @before-leave="beforeLeave" @leave="leave">
                    <mdb-card-body class="collapse-item" v-if="gradient4">
                      <mdb-progress color="cyan" :value="50" />
                      <p class="text-muted">Better than last week (50%)</p>
                      <h4 class="text-uppercase font-weight-bold my-4">Details</h4>
                      <p class="text-muted" align="justify">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam vel dolores qui, necessitatibus aut eaque magni mollitia tenetur molestiae sit quae quos quaerat amet exercitationem atque animi odio.</p>
                    </mdb-card-body>
                  </transition>
                </mdb-card>
              </mdb-col>
            </mdb-row>
          </mdb-container>
        </template>
      

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbIcon, mdbView, mdbMask, mdbBtn, mdbTooltip, mdbProgress } from 'mdbvue';
          import { mixin as clickaway } from 'vue-clickaway';
          
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbIcon,
              mdbView,
              mdbMask,
              mdbBtn,
              mdbTooltip,
              mdbProgress
            },
            data() {
              return {
                gradient1: false,
                gradient2: false,
                gradient3: false,
                gradient4: false
              };
            },
            methods: {
              beforeEnter(el) {
                el.style.height = '0';
                el.style.opacity = '0';
              },
              enter(el) {
                el.style.height = el.scrollHeight + 'px';
                el.style.opacity = '1';
              },
              beforeLeave(el) {
                el.style.height = el.scrollHeight + 'px';
                el.style.opacity = '1';
              },
              leave(el) {
                el.style.height = '0';
                el.style.opacity = '0';
              },
              away1() {
                this.gradient1 = false;
              },
              away2() {
                this.gradient2 = false;
              },
              away3() {
                this.gradient3 = false;
              },
              away4() {
                this.gradient4 = false;
              }
            },
            mixins: [clickaway]
          }
        </script>
      

        <!-- Add "scoped" attribute to limit CSS to this component only -->
        <style scoped>
          h4 {
            font-weight: bold;
          }
          .collapse {
            transition: height 0.3s;  
          }
          .collapse-item {
            transition: all 0.5s;  
          }
          .gradient-card {
            transition: 0.5s ease-in-out; 
          }
          .gradient-card.show {
            margin-top: 20px;
          }
          .gradient-card .card-image {
            display: inline-block;
            width: 100%;
            transition: 0.5s ease-in-out; 
          }
          .gradient-card.show .card-image {
            width: 112px;
            height: 112px;
            margin-left: 20px;
            margin-top: -20px;
          }
          .gradient-card .card-body {
            padding: 0 1.25rem;
          }
        </style>
      

Chart card MDB Pro component

Alie Corporation

NYSE: AZHC • Oct 16, 1:45PM

887.32

887.02 (.03%)

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.

sample image

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima at ipsum sit amet.


        <template>
          <mdb-container>
            <mdb-card class="chart-card" style="width: 22rem">
              <mdb-card-body class="pb-0">
                <mdb-card-title class="font-weight-bold">Alie Corporation</mdb-card-title>
                <p class="card-text mb-4">NYSE: AZHC  •  Oct 16, 1:45PM</p>
                <div class="d-flex justify-content-between">
                  <p class="display-4 align-self-end">887.32</p>
                  <p class="align-self-end pb-2">887.02 (.03%)</p>
                </div>
              </mdb-card-body>
              <div class="classic-tabs">
                <mdb-tab class="tabs-white nav-fill" justify>
                  <mdb-tab-item class="ml-0" :active="tab==0" @click.native.prevent="tab=0">Profile</mdb-tab-item>
                  <mdb-tab-item :active="tab==1" @click.native.prevent="tab=1">Follow</mdb-tab-item>
                  <mdb-tab-item :active="tab==2" @click.native.prevent="tab=2">Contact</mdb-tab-item>
                </mdb-tab>
                <mdb-tab-content>
                  <mdb-tab-pane class="fade" key="show1" v-if="tab==0">
                    <mdb-line-chart :data="lineChartData" :options="lineChartOptions" :height="300"/>
                  </mdb-tab-pane>
                  <mdb-tab-pane class="fade" key="show2" v-if="tab==1">
                    <p align="justify" class="font-small text-muted mx-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>
                    <p align="justify" class="font-small text-muted mx-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima.</p>
                  </mdb-tab-pane>
                  <mdb-tab-pane class="fade" key="show3" v-if="tab==2">
                    <img class="img-fluid z-depth-1 rounded mb-3" alt="sample image" src="https://mdbootstrap.com/img/Photos/Others/intro1.jpg">
                    <p align="justify" class="font-small text-muted mx-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nihil odit magnam minima, soluta doloribus reiciendis molestiae placeat unde eos molestias. Quisquam aperiam, pariatur. Tempora, placeat ratione porro voluptate odit minima at ipsum sit amet.</p>
                  </mdb-tab-pane>
                </mdb-tab-content>
              </div>
            </mdb-card>
          </mdb-container>
        </template>
      

        <script>
          import { mdbContainer, mdbRow, mdbCol, mdbCard, mdbCardImage, mdbCardBody, mdbCardTitle, mdbCardText, mdbIcon, mdbView, mdbMask, mdbBtn, mdbTooltip, mdbProgress, mdbTbl, mdbChip, mdbTab, mdbTabItem, mdbTabContent, mdbTabPane, mdbLineChart } from 'mdbvue';
          
          export default {
            name: 'CardProPage',
            components: {
              mdbContainer,
              mdbRow,
              mdbCol,
              mdbCard,
              mdbCardImage,
              mdbCardBody,
              mdbCardTitle,
              mdbCardText,
              mdbIcon,
              mdbView,
              mdbMask,
              mdbBtn,
              mdbTooltip,
              mdbProgress,
              mdbTbl,
              mdbChip,
              mdbTab,
              mdbTabItem,
              mdbTabContent,
              mdbTabPane,
              mdbLineChart
            },
            data() {
              return {
                tab: 0,
                lineChartData: {
                  labels: ["8 AM", "10 AM", "12 PM", "2 PM", "4 PM", "6 PM", "8 PM"],
                  datasets: [
                    {
                      label: 'My First dataset',
                      backgroundColor: 'rgba(255,255,255,0.4)',
                      borderColor: '#673ab7',
                      pointBackgroundColor: 'transparent',
                      borderWidth: 2,
                      pointBorderColor: '#673ab7',
                      pointBorderWidth: 1,
                      data: [885, 884, 887, 883, 888, 889, 888]
                    }
                  ]
                },
                lineChartOptions: {
                  responsive: true,
                  maintainAspectRatio: true,
                  scales: {
                    xAxes: [{
                      gridLines: {
                        display: false,
                        color: "rgba(0, 0, 0, 0.1)",
                      }
                    }],
                    yAxes: [{
                      gridLines: {
                        display: true,
                        color: "rgba(0, 0, 0, 0.1)",
                      }
                    }]
                  }
                }
              };
            }
          }
        </script>
      

        <!-- Add "scoped" attribute to limit CSS to this component only -->
        <style scoped>
          h4 {
            font-weight: bold;
          }
          .collapse {
            transition: height 0.3s;  
          }
          .collapse-item {
            transition: all 0.5s;  
          }
          </style>
          
          <style>
          .card.chart-card .classic-tabs .nav.tabs-white li a {
            color: #757575;
            font-weight: 500;
          }
          .card.chart-card .classic-tabs .nav.tabs-white li a.active {
            color: #673ab7;
          }
        </style>