Live card
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
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Directory" | maxLength: 40 | |
order | string | "name" | "name", "floor", "listed" | name: A to Z. floor: lowest floor first, then A to Z. listed: as given. |
rowsPerPage | integer | 6 | minimum: 3; maximum: 16 | Rows 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. |
pageSeconds | integer | 12 | minimum: 4; maximum: 60 | Seconds each page stays up. |
floorLabel | string | "Floor" | maxLength: 12 | |
suiteLabel | string | "Suite" | maxLength: 12 |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
entries | array | [] | minItems: 0; maxItems: 200 | |
entries[].name | string | minLength: 1; maxLength: 60; Required | ||
entries[].detail | string | "" | maxLength: 60 | A line under the name: a trade, a department, a role. |
entries[].floor | string | "" | maxLength: 12 | A number reads as "Floor 3"; any other text ("Ground", "Lobby") is shown as written. |
entries[].suite | string | "" | maxLength: 12 | A suite with a digit reads as "Suite 305"; any other text is shown as written. |
entries[].highlight | boolean | false | Hold this listing lit (Primetime): an accent edge and a light sweep that repeats. Without a flagged listing the spotlight walks down the page. | |
footnote | string | "" | 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.