<!-- Basic card -->
<umd-element-card>
<h3 slot="headline">Research Breakthrough</h3>
<p slot="text">Scientists discover new method for sustainable energy.</p>
</umd-element-card>
<!-- Card with image and actions -->
<umd-element-card>
<img slot="image" src="campus.jpg" alt="Campus view">
<p slot="eyebrow">Campus News</p>
<h3 slot="headline">New Student Center Opens</h3>
<p slot="text">State-of-the-art facility welcomes students.</p>
<div slot="actions">
<a href="/read-more">Read More</a>
</div>
</umd-element-card>
Standard Card
A versatile card component for displaying content with optional images, actions, and themes. Supports multiple display modes including block, list, and transparent variations.
Custom Element
<umd-element-card>Slots
headline- Card title (required, accepts: h2-h6, p)text- Card content (accepts: p)eyebrow- Small text above headlineimage- Card imageactions- Action buttons or linksdate- Date informationAttributes
data-theme- Theme styling options:dark- Dark theme stylinglight- Light theme stylingdata-visual-transparent- Visual display options:true- Transparent backgrounddata-visual-image-aligned- Visual display options:true- Aligned content layoutdata-visual-bordered- Visual display options:true- Add border stylingdata-display- Display options:list- List display format