Celebrations card

Today's birthdays and work anniversaries front and centre, with who is coming up this week.

Today's birthdays and work anniversaries sit front and centre, with the coming days alongside, so the names read clearly from across a room. It fills the whole screen, fits any rectangle, sits in a box in the middle, tucks into a corner as a small square or one line, and runs as a band along an edge. You set the people, the heading wording, how many days ahead the upcoming list looks, whether the card stays on screen always or appears only on a celebration day, and whether anniversary years show as a numeral beside the name.

Live card

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

Category: People. Tags: Recognition, Offices and workplaces, Schools and campuses, Lobbies and reception.

Data and privacy

This card uses its configured properties and live card data.

Shows first names only. A portrait is a project media image the screen's owner supplies for that person; show it only with their consent.

Properties

For theme, background, accent, colour overrides and position, see Common properties.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Celebrations"maxLength: 60The eyebrow of a day with mixed celebrations, of an empty day, and the Primetime header.
windowDaysinteger7minimum: 0; maximum: 31How many days ahead the upcoming list looks.
presencestring"always""always", "today"always keeps the card on screen; today shows it only on a day with a birthday or anniversary.
showYearsbooleantrueShow the years of a work anniversary as a numeral beside the name.

Dynamic properties

NameTypeDefaultValues and limitsDescription
peoplearrayminItems: 1; maxItems: 200; Required
people[].namestringminLength: 1; maxLength: 60; Required
people[].birthdaystring""pattern: "^((0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))?$"MM-DD; a 02-29 birthday falls on Feb 28 in other years.
people[].anniversarystring""pattern: "^(\\d{4}-\\d{2}-\\d{2})?$"Start date, YYYY-MM-DD.
people[].photostring""maxLength: 120A media reference (media:<id>); a round portrait beside the name on a full or center layout. Empty shows the glyph.

Example params

{
  "theme": "neomustard"
}
screenrig card create --type celebrations --major 1 --file params.json --context-file context.md

Example data

{
  "people": [
    {
      "name": "Example"
    }
  ]
}

Layouts

This core card fits every layout: full screen, center, wide, corner, chip, strip, or any free rectangle.

Layouts: full, free, center, wide, corner, chip, strip. Forms: landscape, portrait, square, strip.

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.