Month Calendar card

A month grid with today marked, today's date beside it, and the next highlights listed alongside.

The month grid marks today in the theme's voice, with today's date and the next highlights beside it in large, clear type that reads easily from across a room. It fills the screen, fits any rectangle, sits in the middle, tucks into a corner, runs as one line in a corner, or runs as a band along an edge. You choose the month to show, whether the week starts on Monday or Sunday, the highlighted dates, whether week numbers show, the time zone, and whether the strip shows a week or a fortnight.

Live card

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

Category: Time. Tags: Clocks and calendars, Schedules, Offices and workplaces, Schools and campuses.

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
monthstring""pattern: "^(\\d{4}-(0[1-9]|1[0-2]))?$"YYYY-MM; empty shows the current month in the zone.
weekStartstring"monday""monday", "sunday"
showWeekNumbersbooleanfalse
timeZonestring, nullnull
stripstring"week""week", "fortnight"How many days a strip shows: this week, or two weeks when the strip is wide enough (1700 px or more).
highlightLimitinteger4minimum: 0; maximum: 8How many of the next highlights are listed beside the grid.

Dynamic properties

NameTypeDefaultValues and limitsDescription
highlightsarray[]maxItems: 31
highlights[].datestringpattern: "^\\d{4}-\\d{2}-\\d{2}$"; Required
highlights[].labelstring""maxLength: 40
highlights[].tonestring"accent""accent", "warm", "cool"

Example params

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

Example data

{
  "highlights": []
}

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.