Activity timer card

A big friendly timer for a classroom: a wedge of colour that shrinks to nothing, the minutes left and what the time is for.

Live card

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

Category: Schools. Tags: Countdowns and timers, 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
iconstring"timer-01""timer-01", "hourglass", "walking", "restaurant-01", "music-note-01", "sparkles", "star", "bell-ring", "user-group", "target-02"The picture beside the label.
warnSecondsinteger60minimum: 0; maximum: 600In the last seconds the wedge and the digits turn to the warning colour. 0 never warns.
showDigitsbooleantrueFalse shows only the wedge, for the youngest children.

Dynamic properties

NameTypeDefaultValues and limitsDescription
labelstring"Activity time"maxLength: 40What the time is for, for example Clean up or Silent reading.
minutesinteger10minimum: 1; maximum: 180How long the activity lasts.
startAtstring""maxLength: 40ISO 8601 instant the timer starts (a time without an offset is wall time in the screen's zone). Empty shows the timer ready, full.
doneTextstring"Time's up"maxLength: 30

Example params

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

Example data

{
  "label": "Activity time",
  "minutes": 10,
  "startAt": "",
  "doneText": "Time's up"
}

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.