Live poll card

A question with live vote bars and a QR code to vote. Display only: voting happens on the page the code opens.

Live card

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

Category: Events. Tags: Social and audience, QR codes, Events and venues, Schools and campuses.

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"Live poll"maxLength: 40
voteLabelstring"Scan to vote"maxLength: 30
orderstring"listed""listed", "ranked"
showVotesbooleantrueShow vote counts beside the percentages.

Dynamic properties

NameTypeDefaultValues and limitsDescription
questionstring""maxLength: 140
optionsarray[]minItems: 0; maxItems: 6
options[].labelstringminLength: 1; maxLength: 40; Required
options[].votesinteger0minimum: 0Votes so far. Percentages are shares of the total.
closedbooleanfalseTrue once voting has ended: the leader is named the winner.
closedAtstring""maxLength: 40The instant voting closed, ISO 8601. Primetime plays the poll-closed and winner reveal from it, on every screen at once.
voteUrlstring""maxLength: 300The page the QR code opens to vote. Empty hides the code.

Example params

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

Example data

{
  "question": "",
  "options": [],
  "closed": false,
  "closedAt": "",
  "voteUrl": ""
}

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.