Live card
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
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "" | maxLength: 60 | |
compact | boolean | false | ||
cycleSeconds | integer | 6 | minimum: 3; maximum: 60 | The chip view shows one tile at a time, turning on the wall clock. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
tiles | array | minItems: 1; maxItems: 12; Required | ||
tiles[].label | string | maxLength: 40; Required | ||
tiles[].value | number | Required | ||
tiles[].unit | string | "" | maxLength: 6 | Currency symbols lead ($1,280); other units follow (98.6%, 120 ms). |
tiles[].decimals | integer, null | null | minimum: 0; maximum: 4 | null: none for whole numbers, one otherwise. |
tiles[].compact | boolean, null | null | Abbreviate thousands, millions and billions (12.4K, 3.2M). null follows the card's compact. | |
tiles[].delta | number, null | null | ||
tiles[].deltaUnit | string | "%" | maxLength: 6 | % shows a percentage; an empty string the bare number; anything else follows it. |
tiles[].deltaLabel | string | "" | maxLength: 30 | |
tiles[].goal | number, null | null | ||
tiles[].trend | array | [] | maxItems: 60 | |
tiles[].invert | boolean | false | True when down is good (wait times, costs). | |
tiles[].changedAt | string, null | null | ISO 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.