Const<umd-element-carousel-wide title="Featured Stories">
<div slot="slides">
<figure>
<img src="hero1.jpg" alt="Research breakthrough">
<div data-headline>
<h2>Major Research Discovery</h2>
</div>
<div data-text>
<p>Scientists make groundbreaking discovery in quantum computing.</p>
</div>
</figure>
<figure>
<img src="hero2.jpg" alt="Campus expansion">
<div data-headline>
<h2>New Science Center Opens</h2>
</div>
<div data-text>
<p>State-of-the-art facility enhances research capabilities.</p>
</div>
</figure>
</div>
</umd-element-carousel-wide>
Wide Carousel
A full-width carousel component with slide previews, optimized for showcasing featured content with optional text overlays.
Custom Element
<umd-element-carousel-wide>Slots
slides- Container for carousel slides (required, accepts: figure or div elements)imgelement with alt text (required)data-headlineattribute for headlines (optional)data-textattribute for descriptions (optional)Attributes
title- Accessible title for the carousel (default: "Animated Image Carousel")data-theme- Visual theme:light- Light theme (default)dark- Dark themeanimation-time- Animation duration in milliseconds (default: 500)mobile-breakpoint- Breakpoint for mobile behavior in pixels (default: 650)Observed Attributes
resize- Triggers carousel size recalculation