Directory card

A building directory: tenants, departments or people with their floor and suite, in a table that pages by itself.

Live card

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

Category: People. Tags: Wayfinding and directories, Lobbies and reception, Offices and workplaces, Healthcare.

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"Directory"maxLength: 40
orderstring"name""name", "floor", "listed"name: A to Z. floor: lowest floor first, then A to Z. listed: as given.
rowsPerPageinteger6minimum: 3; maximum: 16Rows on a page of the full view, up to what the form holds: 5 in landscape (7 without details) and 7 in portrait (10 without details). Listings are spread evenly across the pages.
pageSecondsinteger12minimum: 4; maximum: 60Seconds each page stays up.
floorLabelstring"Floor"maxLength: 12
suiteLabelstring"Suite"maxLength: 12

Dynamic properties

NameTypeDefaultValues and limitsDescription
entriesarray[]minItems: 0; maxItems: 200
entries[].namestringminLength: 1; maxLength: 60; Required
entries[].detailstring""maxLength: 60A line under the name: a trade, a department, a role.
entries[].floorstring""maxLength: 12A number reads as "Floor 3"; any other text ("Ground", "Lobby") is shown as written.
entries[].suitestring""maxLength: 12A suite with a digit reads as "Suite 305"; any other text is shown as written.
entries[].highlightbooleanfalseHold this listing lit (Primetime): an accent edge and a light sweep that repeats. Without a flagged listing the spotlight walks down the page.
footnotestring""maxLength: 120

Example params

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

Example data

{
  "entries": [],
  "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.