Number tiles card

Big, distance-legible numbers: value, change against last period with a good or bad tone, a sparkline and progress toward a goal.

Live card

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

Category: Operations. Tags: Numbers and metrics, Charts and gauges, Offices and workplaces.

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
titlestring""maxLength: 60
compactbooleanfalse
cycleSecondsinteger6minimum: 3; maximum: 60The chip view shows one tile at a time, turning on the wall clock.

Dynamic properties

NameTypeDefaultValues and limitsDescription
tilesarrayminItems: 1; maxItems: 12; Required
tiles[].labelstringmaxLength: 40; Required
tiles[].valuenumberRequired
tiles[].unitstring""maxLength: 6Currency symbols lead ($1,280); other units follow (98.6%, 120 ms).
tiles[].decimalsinteger, nullnullminimum: 0; maximum: 4null: none for whole numbers, one otherwise.
tiles[].compactboolean, nullnullAbbreviate thousands, millions and billions (12.4K, 3.2M). null follows the card's compact.
tiles[].deltanumber, nullnull
tiles[].deltaUnitstring"%"maxLength: 6% shows a percentage; an empty string the bare number; anything else follows it.
tiles[].deltaLabelstring""maxLength: 30
tiles[].goalnumber, nullnull
tiles[].trendarray[]maxItems: 60
tiles[].invertbooleanfalseTrue when down is good (wait times, costs).
tiles[].changedAtstring, nullnullISO 8601 instant the value changed. Within a few seconds of it the tile plays its moment: the number punches and a reached goal or a breached limit lands as a takeover.

Example params

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

Example data

{
  "tiles": [
    {
      "label": "Example",
      "value": 1
    }
  ]
}

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.