Info Cards
The Info Cards components helps you to simply create beautiful info card for displaying information or data.
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.
Default Info Card
// Material Dashboard 2 React Examples
import DefaultInfoCard from "examples/Cards/InfoCard/DefaultInfoCard";
salary
Belong Interactive+$2000
Props Information
| Name | Type | Default | Description | 
|---|---|---|---|
| color | 'primary''secondary''info''success''warning''error''dark' | info | Used to set the DefaultInfoCardcolor. | 
| icon* | node | Used to set the DefaultInfoCardicon. Its a required prop. | |
| title* | string | Used to set the DefaultInfoCardtitle. Its a required prop. | |
| description | string | "" | Used to set the DefaultInfoCarddescription. | 
| value | stringnumber | "" | Used to set the DefaultInfoCardvalue it will be visible at the bottom of the card. | 
Mini Info Card
PRO
// Material Dashboard 2 PRO React Examples
import MiniInfoCard from "examples/Cards/InfoCard/MiniInfoCard";
// Material Dashboard 2 PRO Components
import MDTypography from "components/MDTypography";
      754 
      
      754 
      
        m
       
    
New York City
Props Information
| Name | Type | Default | Description | 
|---|---|---|---|
| color | 'primary''secondary''info''success''warning''error''dark' | info | Used to set the MiniInfoCardcolor. | 
| icon* | node | Used to set the MiniInfoCardicon. Its a required prop. | |
| title* | node | Used to set the MiniInfoCardtitle. Its a required prop. | |
| description | string | "" | Used to set the MiniInfoCarddescription. | 
Profile Info Card
// Material Dashboard 2 React Examples
import ProfileInfoCard from "examples/Cards/InfoCard/ProfileInfoCard";
// @mui icons
import FacebookIcon from "@mui/icons-material/Facebook";
import TwitterIcon from "@mui/icons-material/Twitter";
import InstagramIcon from "@mui/icons-material/Instagram";
Props Information
| Name | Type | Default | Description | 
|---|---|---|---|
| title* | string | Used to set the ProfileInfoCardtitle. Its a required prop. | |
| description* | string | Used to set the ProfileInfoCarddescription. Its a required prop. | |
| info* | object | Used to set the ProfileInfoCardinto and details, its should be anobjectthat contains your info and the card will display it as a list, the keys of theobjectis visible as the title of each item. Its a required prop. | |
| social* | array | Used to set the ProfileInfoCardinto and social profiles icon with their links, its should be anarrayof objects with the following keys: `link`, `icon` and `color`. Its a required prop. | |
| action* | { route: string, tooltip: string, } | Used to set the ProfileInfoCardroute and helper tooltip content on top right corner of the card. Its a required prop. |