Offer card

A striking price tag: the price, what it was, what you save, and when the deal ends, with an optional photo of the product beside it.

The price stands in huge figures with its cents raised, beside the old price struck through, what you save and when the deal ends, which counts down through the last hour. Add a photo of the product and it stands on a framed plate beside the price, or above it on a tall screen.

Live card

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

Category: Retail. Tags: Prices and rates, Stores, Restaurants and cafes.

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: 40
imagestring""maxLength: 200A project media reference (media:<id>): a photo of the product, set on a framed plate beside the price in landscape and above it in portrait. Empty sets the tag alone.
currencystring"$"maxLength: 3
unitstring""maxLength: 8Shown after the price, for example /lb or each.
hour12booleanfalse
timeZonestring, nullnull

Dynamic properties

NameTypeDefaultValues and limitsDescription
productstringminLength: 1; maxLength: 60; Required
pricenumberminimum: 0; Required
wasnumber, nullnullminimum: 0
badgestring""maxLength: 16
endsstring, nullnullISO 8601 with an offset, or local YYYY-MM-DDTHH:MM in timeZone.
changedAtstring, nullnullISO 8601 with an offset, or local YYYY-MM-DDTHH:MM in timeZone: when the price last changed. The animated theme replays its price slam from this instant.
finestring""maxLength: 160

Example params

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

Example data

{
  "product": "Example",
  "price": 1,
  "was": null,
  "badge": "",
  "ends": null,
  "changedAt": null,
  "fine": ""
}

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.