IntegrationCard
Reusable integration card component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<IntegrationCard
title="title"
description="description"
href="href"
icon="icon-[lucide--plug-zap]"
/>Legacy mount name: data-component="IntegrationCard".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
title | string | Optional | "" |
description | string | Optional | "" |
href | string | Optional | "" |
icon | string | Optional | "icon-[lucide--plug-zap]" |
class | string | Optional | "" |
Slots
default
Events
This component does not declare a custom event.
Source contract
Installed source: components/IntegrationCard.wrn
component IntegrationCard {
props {
title = ""
description = ""
href = ""
icon = "icon-[lucide--plug-zap]"
class = ""
}
view {
<article class="wire-card wire-catalog-card wire-catalog-card--integration {class}">
<span class="wire-catalog-card__icon">
<span class="{icon} size-5" aria-hidden="true">
</span>
</span>{#if title}<h3>{title}</h3>{/if}{#if description}<p>{description}</p>{/if}<slot />{#if href}<a href="{href}" class="wire-catalog-card__link">
<span class="wire-visually-hidden">Open {title}</span>
</a>{/if}</article>
}
}