Events card

What is on now, what is next and the agenda for a calendar's coming days.

A calendar's coming days show what is happening now, what is next and the agenda, with rows cut to fit at full size and never shrunk. It fills the whole screen, fits any rectangle, sits in the middle, tucks into a corner, runs as one line in a corner or as a band along an edge. You choose the full screen as the agenda, a room door sign that reads Available or In use with later bookings, or seven columns for the week. You set how many days to show, the most agenda rows, the clock as 12 hour, 24 hour or military time, whether the place shows, and whether the card stays hidden until an event is on or about to start.

Live card

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

Category: Events. Tags: Schedules, Events and venues, Lobbies and reception, Offices and workplaces, Schools and campuses.

Data and privacy

Feed: screenrig.events/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

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

Static properties

NameTypeDefaultValues and limitsDescription
titlestring""maxLength: 60Empty uses the calendar's name.
modestring"agenda""agenda", "next", "week"Full-screen composition: agenda (now, next and the agenda), next (a room's door sign: Available or In use, then what is on and the day's later bookings) or week (seven day columns). Center, corner, chip and strip always show now or next.
daysinteger7minimum: 1; maximum: 14
maxEventsinteger8minimum: 1; maximum: 20At most this many agenda rows; rows are also cut to the room, never shrunk.
hourCyclestring"24""12", "24", "military"12: 2:05 PM. 24: 14:05. military: 1405, four digits with no separator (and HRS when the suffix shows).
showLocationbooleantrue
timeZonestring, nullnullIANA zone; null uses the screen's zone.
presencestring"always""always", "active"active: the card is absent until an event is on or one starts within leadMinutes.
leadMinutesinteger15minimum: 1; maximum: 240With presence active, how many minutes before an event starts the card appears.

Dynamic properties

NameTypeDefaultValues and limitsDescription
eventsarray, nullnullmaxItems: 200Agent-supplied calendar occurrences. Null uses the host feed; an empty array clears the agenda. Expand recurrences before writing.

Example params

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

Example data

{
  "events": null
}

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.

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.