Live card
Category: Events. Tags: Lobbies and reception, Stores, News and announcements, Events and venues.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
calendars | array | ["world"] | maxItems: 11; uniqueItems: true | Which sets of occasions the card draws from: world (New Year, Valentine's Day, Easter, Halloween, Christmas), christian, orthodox, us, canada, uk, australia, lunar, jewish, islamic and south-asian. |
occasion | string | "auto" | "auto", "new-years-day", "valentines-day", "st-patricks-day", "easter", "earth-day", "halloween", "christmas-eve", "christmas", "new-years-eve", "good-friday", "orthodox-christmas", "orthodox-easter", "mlk-day", "presidents-day", "mothers-day", "memorial-day", "juneteenth", "fathers-day", "independence-day", "labor-day", "veterans-day", "thanksgiving", "canada-day", "victoria-day", "thanksgiving-ca", "remembrance-day", "boxing-day", "mothering-sunday", "bonfire-night", "remembrance-sunday", "australia-day", "anzac-day", "fathers-day-au", "lunar-new-year", "lantern-festival", "dragon-boat", "mid-autumn", "rosh-hashanah", "passover", "hanukkah", "ramadan", "eid-al-fitr", "eid-al-adha", "islamic-new-year", "diwali", "vaisakhi" | auto picks the occasion in season, or the next one. An id shows that occasion's greeting on every day. |
showUpcoming | boolean | true | When nothing is in season, show the next occasion with its countdown. Off shows the plain message. | |
leadDays | integer, null | null | minimum: 0; maximum: 60 | How many days before an occasion its greeting appears. Empty uses each occasion's own lead-in. |
moonOffset | integer | 0 | minimum: -2; maximum: 2 | Days added to Ramadan and Eid dates, to follow a local moon sighting. |
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
message | string | "" | maxLength: 120 | Replaces the occasion's greeting. With no occasion in view it is the card's message (Welcome when empty). |
note | string | "" | maxLength: 160 | Replaces the line under the greeting. |
signoff | string | "" | maxLength: 100 | Replaces the sign-off (With warm wishes). |
Example params
{
"theme": "neomustard"
}
screenrig card create --type greeting --major 1 --file params.json --context-file context.md
Example data
{
"message": "",
"note": "",
"signoff": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.