Const<!-- Primary button -->
<umd-element-call-to-action data-display="primary">
<button>Apply Now</button>
</umd-element-call-to-action>
<!-- Large secondary link -->
<umd-element-call-to-action data-display="secondary" data-visual-size="large">
<a href="/learn-more">Learn More</a>
</umd-element-call-to-action>
<!-- Outline button with dark theme -->
<umd-element-call-to-action data-display="outline" data-theme="dark">
<button>Contact Us</button>
</umd-element-call-to-action>
Call-to-Action
A web component that enhances buttons and links with consistent UMD styling.
Custom Element
<umd-element-call-to-action>Slots
text- Additional text content for links (optional, accepts: a)plainText- Deprecated: Usetextslot insteadAttributes
data-display- Display style options:primary- Primary button style (red background)secondary- Secondary button styleoutline- Outline button styledata-visual-size- Size options:large- Larger button sizedata-theme- Theme options:dark- Dark theme variantgold- Gold theme variant