ComingSoonBadge
Reusable coming soon badge component.
Usage
Components are auto-discovered. Use the component directly in any .wrn view:
<ComingSoonBadge
label="ComingSoon"
variant="default"
/>Legacy mount name: data-component="ComingSoonBadge".
Props and attributes
| Prop | Type | Requirement | Default |
|---|---|---|---|
label | string | Optional | "ComingSoon" |
variant | string | Optional | "default" |
class | string | Optional | "" |
Slots
default
Events
This component does not declare a custom event.
Source contract
Installed source: components/ComingSoonBadge.wrn
component ComingSoonBadge {
props {
label = "ComingSoon"
variant = "default"
class = ""
}
view {
<span class="wire-badge wire-badge--{variant} wire-catalog-badge wire-catalog-badge--comingsoonbadge {class}">{label}<slot />
</span>
}
}