Skip to content

Layout

Each page is a grid of 12 columns with 104 px rows, unless you pick another grid for the dashboard (see Grid size). Every widget has:

Property Meaning
width columns, 1 to the number of columns
height rows
col, row the cell of its top-left corner, counted from 0
order reading order: phones and sidebars follow it
region main grid or the page sidebar

In a grid region, a widget with col and row stays in that cell: it can sit on any row, with empty cells around it, and widgets never overlap. The builder sets them when you drag a widget, and pushes down what it lands on.

Widgets without col/row (dashboards made before Tessera 0.4, or nodes created by tools without a position) flow left to right, top to bottom, in order. The builder gives them their cells the first time you edit the page, where they already are, so nothing moves.

For finer steps, pick another grid for the whole dashboard: in the builder, open Dashboard settings (toolbar) → Layout → Grid, or Dashboard settings… in the inspector.

Grid Columns Row height
Normal (default) 12 104 px
Fine 24 44 px (two rows and their gap = one normal row)
Extra fine 48 20 px (four rows and their gaps = one normal row)
Custom any whole number from 4 to 48 16–240 px

The gap between cells is 16 px up to 24 columns and 8 px above. Values outside the range are clamped (a hand-edited gridCols: 16 is a valid 16-column grid; only a value that is not a number falls back to 12).

Changing the grid in the builder converts every widget (size and cell) and every region’s minimum height, so pages keep their look; it’s one undo step. Between Normal, Fine and Extra fine the conversion is exact (Normal ↔ Extra fine: 4 rows of 20 px and 3 gaps of 8 px are the 104 px of a normal row); for other counts (12 → 10, say) sizes and cells are rounded and what then overlaps is pushed down. The app config node (gridCols, rowHeight, tabletCols, phoneCols) has the same settings, but there they’re just numbers: the widgets aren’t converted.

You don’t have to type numbers: the visual builder lets you drag, resize and configure widgets on the real page, and pick layouts and navigation with thumbnails.

Choose how people move between pages on the app config node, or visually from the layout editor (toolbar → Dashboard settings → Navigation). Every style has a full-screen button next to the theme switch (see Kiosk).

A classic website header: brand on the left, page links with an underline on the current page, status and theme on the right. With many pages the links scroll horizontally; on phones they fold into a menu.

Top bar navigation: the brand and the page links on the left; the connection status, the theme switch and the full-screen button on the right

The top bar on a phone: the page links folded into a menu under the header

A vertical menu with page icons. The button at the bottom collapses it to an icon rail; each viewer’s choice is remembered in their browser. On phones it becomes a drawer.

Sidebar navigation: the page links with their icons, and at the bottom the connection status, the theme switch, the full-screen button and the collapse button

The sidebar collapsed to an icon rail, with the status, theme, full-screen and expand buttons at the bottom

The sidebar plus a header that shows the current page’s icon and title, the connection status and the theme switch.

Sidebar and top bar: the sidebar with the page icons, and a header with the current page’s icon and title, the status, the theme switch and the full-screen button

Give each page an icon (any Lucide name) on the page config node. Sidebars always show icons; the top bar shows them when set.

Kiosk is the app in browser full screen, nothing else: the page gets the whole display and the dashboard’s navigation (top bar or sidebar) stays where it is, so people can still go to any page. It works with every navigation style.

  • Per screen: open the dashboard with ?kiosk (for example /tessera/?kiosk) to turn it on, or ?kiosk=0 to turn it off.
  • Kiosk by default on the app config node (off unless you turn it on): every screen starts in kiosk unless it is opened with ?kiosk=0. Set it in the layout editor too (toolbar → Dashboard settings → Navigation).
  • The first click, tap or key press puts the browser in full screen. Browsers only allow full screen after a user gesture, so a page cannot do it by itself on load; it asks once, and if you leave full screen (Esc) it does not ask again.
  • The full-screen button (⛶) in the navigation enters and exits full screen on any dashboard, kiosk or not. It is hidden in browsers without the Fullscreen API (for example iPhone Safari).
  • Unattended screens (a wall display, a panel that restarts on its own) cannot wait for a click: start the browser itself in kiosk mode, for example chromium --kiosk http://localhost:1880/tessera/.

Each page uses a template of regions. Pick it from the layout editor’s toolbar (thumbnails) or on the page config node.

Template Regions
Grid main grid
Sidebar left / right main grid + a sidebar column
Top band a full-width band (great for KPIs) above the main grid
Band + sidebar band, then main grid + sidebar
Three columns left column + main grid + right column
Two columns two grids side by side
Process screen one region: the first widget fills the whole screen under the header (see Process screen)

Widgets choose their Region (main, sidebar, top band, left/right column, second column), or you drag them between regions in the layout editor. If a page switches to a template without that region, its widgets show in the main grid and keep their region for later.

Sidebar and column widgets take the full width of their column; only their height applies. Sidebars stay in view while you scroll.

The Process screen template is for plant graphics, as in a SCADA: the process drawing is the screen. Put a synoptic on the page and it fills the whole area under the header and navigation, edge to edge and with no page title, whatever its width and height in the grid. The synoptic frames what is drawn and scales to the area, so the graphic uses all the space and there is no scrolling on a desktop. Navigate between screens with the page links, one page per graphic.

  • It works with any widget, but the first one is the only one that fills the screen: it is the first of the page in reading order (order; drag in the builder to change it). Further widgets in the page stack below it, one per row at the full width, with their own height, and the page scrolls to them. Keep one widget on a screen for a clean full-screen graphic.
  • Below 1024 px (tablet and phone) the first widget keeps a 4:3 box at the full width and the page scrolls, instead of taking the height of the window, which would be a thin strip on a phone in landscape.
  • Fit to screen, Full width and the grid sizes are not used by this layout. Other layouts and their widgets are unchanged.
  • In the builder the first widget shows fills the screen instead of its size and has no resize handle; the page keeps its title and padding so the toolbar and the region label stay reachable. The Process screen page template adds a page with one synoptic.

In the layout editor every region is outlined with a dashed line:

  • Width: drag the handle between a sidebar or column and the main grid. Sidebars snap to 240 – 560 px; two columns snap to 25 / 33 / 40 / 50 / 60 / 67 / 75 %.
  • Height: drag the handle on a region’s bottom edge to give it a minimum height in rows. Double-click the handle to go back to automatic height.
  • Fit to screen: the page fills the window with no scrolling and the rows share the available height. Ideal for HMI screens and wall displays (desktop only; phones keep scrolling).
  • Full width: use the whole screen instead of a centered 1600 px column.

Below 768 px the grid becomes 4 columns (configurable, see Tablet and phone columns) and widgets go one after another in reading order (row by row, left to right), ignoring their columns:

  • compact widgets (stat, switch, button) that are a quarter of the grid (3 columns of 12) or narrower and 1 row tall (up to 120 px) take half the columns;
  • everything else takes the full width;
  • page sidebars stack below (right) or above (left) the grid.

The app config node (and Dashboard settings → Layout → Grid, in the builder) sets the columns of each device:

Setting Default Range Meaning
tabletCols 0 0, or 4–16 Columns of a tablet (768–1023 px). 0 = follow the desktop grid: widgets keep their cells, as always. A number: the tablet has its own columns, and widgets auto-flow in reading order with their width scaled to that count (rounded, at least 1 and at most the count), with a 16 px gap
phoneCols 4 2–8 Columns of a phone (under 768 px). Compact widgets take half of them (rounded down), the rest all; 12 px gap

Values outside the range are clamped. A dashboard without these keys looks exactly as before (tablet = desktop grid, phone = 4 columns). The builder’s Tablet and Phone previews show the same layout as a window of that width.

Optional, per widget, to tune the phone and tablet layouts (empty = the same as desktop). A phone is a window under 768 px wide, a tablet 768–1023 px:

Property Meaning
hideOn phone and/or tablet: the widget is not shown on those devices (in the editor, pick them in Phone → Hide on)
phoneOrder its position on phones, counted from 0. A widget without it keeps its reading position; on a tie, the widgets with phoneOrder go first
phoneHeight rows on phones instead of height

A section is a header followed by its members, as one block, on phones and on tablets with their own columns: its phoneOrder places the block and the members’ phoneOrder orders them inside it.

For example, phoneOrder: 0 brings a widget to the top of a phone, and phoneHeight: 3 gives a chart more room there. In the builder you set them from the Phone and Tablet previews (drag to reorder, corner handle for the rows) and from the inspector, with hidden widgets shown as ghosts.

Widget Size
stat, switch, slider, button 3 × 1
gauge 3 × 3
chart 6–12 × 3