Live card
Category: Food and drink. Tags: Restaurants and cafes, Stores, Prices and rates, Countdowns and timers, QR codes.
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 |
|---|---|---|---|---|
currency | string | "$" | maxLength: 3 | |
unit | string | "" | maxLength: 8 | Shown after the price, for example /lb or each. |
timeZone | string, null | null |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
headline | string | "Smoky double stack" | maxLength: 120 | The item or offer, large. |
subline | string | "Two beef patties, melted cheddar and our house sauce." | maxLength: 200 | |
badge | string | "Limited time" | maxLength: 24 | |
price | number, null | null | minimum: 0 | Leave empty for a promo without a price. |
was | number, null | null | minimum: 0 | The old price, struck through; the saving is worked out. |
image | string | "" | maxLength: 200 | The photo: a project media reference (media:<id>). Empty shows the theme's tile. |
ends | string, null | null | ISO 8601 with an offset, or local YYYY-MM-DDTHH:MM in timeZone. Shows an ends-in countdown. | |
qr | string | "" | maxLength: 2000 | The address the QR code opens. Empty shows no code. |
cta | string | "Scan to order" | maxLength: 80 | The line beside the QR code. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type promo --major 1 --file params.json --context-file context.md
Example data
{
"headline": "Smoky double stack",
"subline": "Two beef patties, melted cheddar and our house sauce.",
"badge": "Limited time",
"price": null,
"was": null,
"image": "",
"ends": null,
"qr": "",
"cta": "Scan to order"
}
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.