Rotating Card

The Rotating Card component helps you to simply create a beautiful card with two sides with rotating functionality.


The below codes are editable and you can modify them the way you want directly from your browser, please use the green button or the ctrl + s to save the changes.

Demo

// Material Kit 2 React Examples import RotatingCard from "examples/Cards/RotatingCard"; import RotatingCardFront from "examples/Cards/RotatingCard/RotatingCardFront"; import RotatingCardBack from "examples/Cards/RotatingCard/RotatingCardBack";

Feel the
Material Kit

All the MUI components that you need in a development have been re-design with the new look.

Discover More

You will save a lot of time going from prototyping to full-functional code because all elements are implemented.

start with header

Props Information

NameTypeDefaultDescription
children*nodeUsed to set the RotatingCard front and back sides. Its a required prop.

Rotating Card Front

Props Information

NameTypeDefaultDescription
color'primary''secondary''info''success''warning''error''dark''light'infoUsed to set the RotatingCardFront background image overlay color.
image*stringUsed to set the RotatingCardFront background image. Its a required prop.
icon*node''Used to set the RotatingCardFront icon on top of its title.
title*nodeUsed to set the RotatingCardFront title. Its a required prop.
description*nodeUsed to set the RotatingCardFront description. Its a required prop.

Rotating Card Back

Props Information

NameTypeDefaultDescription
color'primary''secondary''info''success''warning''error''dark''light'infoUsed to set the RotatingCardBack background image overlay color.
image*stringUsed to set the RotatingCardBack background image. Its a required prop.
title*nodeUsed to set the RotatingCardBack title. Its a required prop.
description*nodeUsed to set the RotatingCardBack description. Its a required prop.
action*bool{ type: ["internal", "external"], route: String, label: String }Used to set the RotatingCardBack action button route and text. Its a required prop.