Greeting card

The coming occasion's greeting and sign-off over a themed scene of snow, confetti, lanterns, leaves, fireworks, hearts, petals or stars.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

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

NameTypeDefaultValues and limitsDescription
calendarsarray["world"]maxItems: 11; uniqueItems: trueWhich 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.
occasionstring"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.
showUpcomingbooleantrueWhen nothing is in season, show the next occasion with its countdown. Off shows the plain message.
leadDaysinteger, nullnullminimum: 0; maximum: 60How many days before an occasion its greeting appears. Empty uses each occasion's own lead-in.
moonOffsetinteger0minimum: -2; maximum: 2Days added to Ramadan and Eid dates, to follow a local moon sighting.
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
messagestring""maxLength: 120Replaces the occasion's greeting. With no occasion in view it is the card's message (Welcome when empty).
notestring""maxLength: 160Replaces the line under the greeting.
signoffstring""maxLength: 100Replaces 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.