Menu board card

A menu board that sets itself: sections, prices with hairline rules, dietary marks and sold-out items, flowing into as many columns as it needs.

Give it sections of dishes, each with a price or a label such as MP, an optional description, dietary tags and a sold-out flag. The board sets the largest type that fits: a short menu stands big and centred, three dishes or fewer stand as a feature, and a long menu flows into columns and turns pages on its own, each continuing section keeping its name. Names and descriptions wrap at words, prices line up in a right-hand column, and a footnote carries the small print. Add a photo and it stands beside the menu, with your most popular dish and its price named over it.

Live card

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

Category: Food and drink. Tags: Restaurants and cafes, Prices and rates, Schools and campuses, Bars and pubs.

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
imagestring""maxLength: 200A project media reference (media:<id>): a photo for the board, set beside the menu in landscape and above it in portrait, with the menu's first popular dish named over it. Empty sets the menu alone.
currencystring"$"maxLength: 4
decimalsnumber, string"auto""auto", 0, 1, 2auto shows whole prices without decimals when every price is whole, otherwise two.
columnsnumber, string"auto""auto", 1, 2, 3
specialLabelstring"Today's special"maxLength: 30The lead-in over the dish named on the photo. Empty shows none.
pageSecondsinteger12minimum: 5; maximum: 120When the menu needs more than one page, pages turn on the wall clock.

Dynamic properties

NameTypeDefaultValues and limitsDescription
sectionsarrayminItems: 1; maxItems: 8; Required
sections[].namestringmaxLength: 40; Required
sections[].notestring""maxLength: 80
sections[].itemsarrayminItems: 1; maxItems: 24; Required
sections[].items[].namestringmaxLength: 60; Required
sections[].items[].descriptionstring""maxLength: 120
sections[].items[].pricenumber, nullnullminimum: 0
sections[].items[].priceLabelstring""maxLength: 12Shown instead of the price, for example MP.
sections[].items[].tagsarray[]maxItems: 6
sections[].items[].soldOutbooleanfalse
footnotestring""maxLength: 140

Example params

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

Example data

{
  "sections": [
    {
      "name": "Example",
      "items": [
        {
          "name": "Example"
        }
      ]
    }
  ],
  "footnote": ""
}

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.