v1.2.0

Card

Cards contain content and actions about a single subject.

Basic

Lizard Lizards are a widespread group of squamate reptiles, with over 6,000 species, ranging across all continents except Antarctica. Learn More Share
<me-card> <me-card-content> <me-typography variant="h5">Lizard</me-typography> <me-typography variant="body2">...</me-typography> </me-card-content> <me-card-actions> <me-button>Learn More</me-button> <me-button>Share</me-button> </me-card-actions> </me-card>

With Media

Shiba Inu The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. Share Learn More

With Header

R This impressive paella is a perfect party dish and a fun meal to cook together with your guests.

Outlined

Word of the Day be·nev·o·lent adjective — well meaning and kindly. Learn More

API — Card

AttributeTypeDefaultDescription
variantelevation | outlinedelevationCard visual style. outlined replaces shadow with a border.
raisedbooleanfalseIncreased elevation shadow.

API — CardHeader

Attribute / SlotTypeDescription
titlestringPrimary heading text.
subheaderstringSecondary heading text.
slot="avatar"elementAvatar element shown on the left.
slot="action"elementAction element shown on the right.
slot="title"elementOverrides the title attribute with custom content.
slot="subheader"elementOverrides the subheader attribute with custom content.

API — CardMedia

AttributeTypeDefaultDescription
imagestringURL for the background image.
heightnumber | string140Height in px (number) or any CSS value.
altstringAlt text (used when component="img").
componentdiv | imgdivRoot element type. Use img for accessible images.

API — CardActions

AttributeTypeDefaultDescription
disable-spacingbooleanfalseRemoves padding and gap between action buttons.