--- productId: material-ui title: React Card component components: Card, CardActionArea, CardActions, CardContent, CardHeader, CardMedia, Collapse, Paper githubLabel: 'scope: card' materialDesign: https://m2.material.io/components/cards githubSource: packages/mui-material/src/Card --- # Card
Cards contain content and actions about a single subject.
{{"component": "@mui/docs/ComponentLinkHeader"}} ## Introduction Cards are surfaces that display content and actions on a single topic. The Material UI Card component includes several complementary utility components to handle various use cases: - Card: a surface-level container for grouping related components. - Card Content: the wrapper for the Card content. - Card Header: an optional wrapper for the Card header. - Card Media: an optional container for displaying images, videos, etc. - Card Actions: an optional wrapper that groups a set of buttons. - Card Action Area: an optional wrapper that allows users to interact with the specified area of the Card. {{"demo": "BasicCard.js", "bg": true}} ## Basics ```jsx import Card from '@mui/material/Card'; import CardContent from '@mui/material/CardContent'; ``` :::success Although cards can support multiple actions, UI controls, and an overflow menu, use restraint and remember that cards are meant to be entry points to more complex and detailed information. ::: ### Outlined Card Set `variant="outlined"` to render an outlined card. {{"demo": "OutlinedCard.js", "bg": true}} ## Complex Interaction On desktop, card content can expand. (Click the downward chevron to view the recipe.) {{"demo": "RecipeReviewCard.js", "bg": true}} ## Media Example of a card using an image to reinforce the content. {{"demo": "MediaCard.js", "bg": true}} By default, we use the combination of a `