Const<!-- Basic page alert -->
<umd-element-alert-page>
<h3 slot="headline">Important Notice</h3>
<p slot="text">Classes will be held remotely today.</p>
</umd-element-alert-page>
<!-- Dark theme with icon -->
<umd-element-alert-page data-theme="dark" data-visual-icon="show">
<h2 slot="headline">Emergency Alert</h2>
<div slot="text">
<p>Campus is closed due to severe weather.</p>
</div>
<div slot="actions">
<a href="/emergency">View Details</a>
</div>
</umd-element-alert-page>
Page Alert
A page-level alert component for displaying important messages with optional icons.
Custom Element
<umd-element-alert-page>Slots
headline- Alert title (required, accepts: h2-h6, p)text- Alert content (required, accepts: div, p)actions- Optional action buttons or linksbody- Deprecated: Usetextslot insteadAttributes
data-theme- Theme options:light- Light background themedark- Dark background themedata-visual-icon- Icon display options:show- Display alert icon indicator