A Legato page answers one question at a glance and lets a person act without leaving it. This guide is the design language Legato's own service pages are built to: Pi-hole, Lunch Money and Tesla via Tessie. Follow it when you build a page, whether you're a person or an agent.
Principles
- Consolidate before you add. A new card is the last resort. First ask whether the reading belongs as a row in a card that's already there, a second scale on a chart, or the title of a menu.
- Cut what the layout should say. Taglines, helper text, link cards and titles that repeat the page go. If a page needs them to make sense, fix the layout instead.
- Nothing moves. Hovering, confirming, a menu with no matching value and a missing title never shift, grow or reflow a card. Icons in a row line up, and a page fits the panel without scrolling.
- Keep the page easy to update. Keep
ids, card types and order stable, so people know where to look and the next write is predictable. - Design for a busy day. Lay the page out for the most the service can report, such as a full queue with every exception showing. A quiet account says little about which cards belong.
Choose the right structure
Make one overview for each service, and as few other pages as possible.
A detail page earns its place when it's a separate job:
- A time period of its own: Trips by week, month or year.
- A long history or list: charging sessions, recent queries.
- One item of a fleet: each guest on a server. Write it once, with params, not a copy per guest. Name it by its item with
title_from, reading the same source as its cards, and keeptitlea short neutral fallback ("Monitor", "Package"). Don't repeat the item's name on a status card just to say which item it is. When the service only reports each item as it is now, the overview'scollectkeeps samples of every item, and the item's page reads its own with{ "dataset": …, "key": "{param.id}" }: a strip of its state over the period under its status card, then a sparkline from the same samples. A strip is history, not status: it never goes in the Status section or on the overview. - Your own item and the others: a place, an account or a repository you watch yourself. Give every param a
default. Your item then sits in the sidebar and lights and notifies like any page, and links open the others on the same page. Weather does this for places. - A name the person types for their item, like a place, is a
textparam (?name=Lake%20cabin), used as the title when the service can't name it. Open-Meteo does this.
A topic of its own, like a car's climate, can justify a page. First try folding it into the overview: Tesla's Climate and Health pages became a Climate card of buttons and menus, and a few rows in the Car card. Don't make hub pages that only link to other pages.
| What someone needs | Use | Example |
|---|---|---|
| A card only while its condition holds | Conditional card | A door is open |
| Alternate views of the same subject | Tabs | Blocked and allowed domains |
| The subject's health, out of the way until it needs a look | Details ("placement": "page_info") | A server's status |
| Detail that's useful but not urgent, out of sight until wanted | Collapsed heading | Past deliveries |
| A deeper view with its own purpose | Linked page | Trips by week, a guest's own page |
| A change to the connected service | Buttons | A Controls card |
Give a detail page "sidebar": false: it stays out of the sidebar, and arriving by a link, its title row offers ‹ Name to go back. See Detail pages. Link to every detail page from the overview. A page link opens the page; legato://page/ID#card also opens the tab or section holding that card.
The shape of an overview
Top to bottom:
- Health, in Details: the status card with
"placement": "page_info". - Controls, one or two cards of buttons.
- The main trend, a chart.
- Readings, one facts card or a pair of stats.
- Recent, a short list.
- Explore, the links to the detail pages, only when they can't sit on the cards above.
- A log of activity, always last: alerts or events, or past items such as Completed or Delivered in a closed section.
When the page is mostly rows the person acts on or waits for, such as tasks, packages or monitors, the rows come first and there's no health card. See When the rows are the subject.
Health lives in Details
Give the one status card that watches the subject "placement": "page_info", at full width ("width": "full"). Legato draws it in Details's Health section, with its whole detail, and leaves it off the page. When it needs attention, the line under the title says so, Legato posts a notification and the page counts in the Dock badge. The page's status and notifications read the card as before.
{ "id": "host", "type": "status", "placement": "page_info", "label": "pve1", "state": "ok", "width": "full", "detail": "Up 23 days · PVE 9.1" }Only a top-level status or fleet card can go in Details. It can't be in a tab, and it has no buttons: put those on a card the page draws.
One status card watches the whole subject. A low battery lights the car's status, rather than a battery gauge with its own bands; a host's CPU and memory warnings light the host's status. See Use status honestly for the states. When the subject is a server whose health is many parts (its tasks and plugins, as on Jellyfin), a fleet of them goes in Details in the status card's place, its items under their groups. A part that's only a warning, such as a restart pending, is an item only while it's on; a green Restart reads like a button.
Readings someone checks at a glance, such as the server's version, its uptime or how many clients are active, go in the facts card, where they're always in view. The status card's detail says what's wrong, or what the facts leave out.
A health card earns its place when it says something the page's rows don't, as a host's or a DNS filter's does. When the rows already show it, leave it out. A status card that only informs, with nothing that can go wrong, stays on the page. Whether a market is open is a reading, so keep that card on the page beside the readings it goes with.
Status cards can also sit in a closed heading section on the page. Its dot shows the worst state inside, and it opens by itself when its page is shown with something critical inside.
Controls are a row of icons
Add only the controls worth pressing. That a service's API can do something isn't a reason to put it on the page. A single action goes in the corner of the card it feeds, as Parcel's Add tracking sits on its list; a Controls card is for two or more.
On an overview, gather the buttons into one or two cards, each a text card with no body, titled for what it controls: Controls, Climate. Give them "placement": "title": in the window, a sheet page draws them in its title row, at the right, as large grey icons with their labels as tooltips, so the page below is only readings. The person chooses which stay in the row; the rest wait under ⋯. Where a page has no large title, the cards are drawn near the top with "actions_placement": "corner"'s look: each button its icon alone, all at one width.
An on/off pair is one icon. Give both halves the same
settingand each itsturns("on" or "off"): the row shows the "on" half's icon, lit on a grey plate while the setting is on. Icons stay grey; nothing in the row is drawn in the accent colour.A button needs a source on its card, so a Controls card names one (
"source": { "ref": "car" }). A button that sends a request calls that source's service, signed in the same way. See Buttons.Group related buttons with
"|"between them inactions: the panel draws a thin line where one group meets the next, as in charging | heat protection, Sentry, Lock. A group whose buttons are all hidden leaves no line.Show one half of each pair. Start and Stop, On and Off, each with a
when, so one button stands for the setting and shows the way to change it.A setting with a few values is a menu. Give the button
choicesandcurrent, and put{choice}in its request. The menu is titled with the value the service holds now, so the controls say how things are set as well as change them: 80%, 48 A, 72°F.Label for the tooltip: "Turn on Sentry", "Stop wheel heat", "Charge limit". Labels stop at 24 characters.
Leave out what Spotlight shouldn't run. Spotlight presses a page's buttons without asking. Keep unlock, open-the-trunk and similar commands off the page.
Mark the button that stops something running
prominent. Give a button that's hard to undoconfirm; Spotlight still presses it directly.Buttons for one row go on that row (
row_actions, up to three, icons only), as Jellyfin's Message and Stop sit on each stream: they show when the pointer is on the row, keep their place when hidden, and one that's hard to undo asks first. Not on a shelf. Spotlight and Shortcuts never list them. When the service allows a button only on some servers, as Plex allows Stop only with Plex Pass, hide it with awhenthat reads the answer. A service with no way to message a viewer gets no Message button.A download queue puts what needs you first. Sonarr and Radarr list blocked or failed imports before the rest, each with the service's own word for it ("Import blocked"). A download with no size yet has no bar to draw, so the card counts it underneath with any past the first page ("3 more in Sonarr").
A list that guards a button is optional. Portainer hides Stop on containers in your
keep-runninglist; without the list, every container has Stop. The list's absence never turns a container red; only a container the list names that isn't running does.No refresh buttons. The panel's own Refresh (⌘R) refreshes the whole page. A button that does something else mustn't look like one either: circling arrows on Jellyfin's Scan this library read as a refresh, so it went.
A button that acts on one item the answer names, like the newest failed run, takes it with
{answer.…}: hide it withwhenwhile there's none, and ask first when it's hard to undo. GitHub's Re-run failed jobs is built this way.
{ "id": "controls", "type": "text", "label": "Controls", "actions_placement": "corner", "source": { "ref": "car" },
"actions": [
{ "label": "Charge limit", "icon": "battery.75percent", "path": "/car/set_charge_limit?percent={choice}",
"current": "charge_state.charge_limit_soc", "choices": [{ "label": "80%", "value": 80 }, { "label": "90%", "value": 90 }] },
"|",
{ "label": "Turn on Sentry", "icon": "eye", "path": "/car/enable_sentry", "when": { "path": "vehicle_state.sentry_mode", "equals": false } },
{ "label": "Turn off Sentry", "icon": "eye.slash", "path": "/car/disable_sentry", "when": { "path": "vehicle_state.sentry_mode", "equals": true } }
] }On a detail page, a button can stay on the card it changes: Start and Stop charging in the corner of a Charging now card.
Links to the detail pages
- Put a link on a card that's already there when one fits: a row with a
urlon the card whose reading the detail page expands, or anopenbutton in the card's corner. A facts row counting running processes can open the page that lists them. - An Explore list is the last resort. When no card fits, a
listwhose rows link to the detail pages follows the page's own cards, before the log of activity: Pi-hole's Queries, Clients, Local DNS and Servers. - Two pages that mostly expand the overview go as two half-width
linktiles ("layout": "tile") near the top: Tesla's Charging and Trips. - Don't add "Open in…" cards. Put the service's address on the status card's
url.
When the rows are the subject
Some pages are mostly rows the person acts on or waits for: tasks, packages, monitors. The rows are the status, so the shape above changes:
- No health card. Attention shows in the rows: sorted with what needs the person first, with a state word on the right when it isn't routine ("Delivery attempted", "Ready for pickup"), or as a fleet's dots, whose worst one sets the page's status.
- A working list shows seven rows, with Show N more. Four is for a recent list.
- No longer copy of the list on another page. Use tabs and Show N more instead. An item with its own list or history gets one page made with params, however few items there are.
- Past items go last, in a closed section: Completed, Delivered.
Parcel and Uptime Kuma are built this way. A to-do list goes further:
A to-do list
A task app's overview is for choosing and finishing tasks. Overdue work shouldn't count as a problem, and it has no Controls: a daily goal or vacation mode doesn't belong beside the tasks.
- Tasks, a tabs card of checklists that tick: Due (today's, then overdue), Upcoming (the service's dated tasks, grouped by day with
section) and Inbox. Each shows seven rows, with Show N more, and has no title: the tab names it, and an untitled checklist starts at its first row. Give the tabs card"same_height": true, so a short Inbox keeps Due's height and the cards below stay put. - Projects, a short linked list with each project's open-task count. Each row opens one project page made with params: its open tasks under their sections, in the service's order, fifteen before Show N more.
- Completed, a closed section: done each day this week, and the latest few.
A row's detail line is its day (and time, when it has one) and its project; a subtask names its parent instead (↳ Write the post). A repeating task has a small repeat mark after its name, with badge_label for VoiceOver, rather than the word. Leave out any card that counts what the tabs already show. When the service sends a list in pages and Legato only reads the first, say so with a conditional note that links to the full list, and only write "at least" on a count that really is partial. Todoist is built this way.
Consolidate readings
- Secondary readings go in one
factscard. Order its rows with the one people check most first, then the rest longest value to shortest, so the right-aligned values step down: Charging, Tires, Temps, Software, Odometer. - Two headline numbers make a pair of half-width
statcards, side by side: Last 24 hours and Blocked, Assets and Liabilities. - Readings of one quantity share one chart. A car's battery and its range are the same reading: one sparkline with the percentage on the left, miles on the right (
right_unit,right_scale) and the charge limit as a dashed line (target). Not a gauge beside a Range stat. - A short reading beside a title is a
textcard'snote, drawn at the right of the title's line:Temps · 68° in · 66° out.
Charts
- A sparkline for history. With
times, points sit at their moments and a long gap (a car asleep overnight) shows as a faint dashed join. - Turn off the change badge (
"change": false) when the change since the first point isn't news, as for CPU, memory or a battery. - Paired metrics go half width (
"width": "half"), side by side: CPU and memory. - Not between two lists. A chart never sits directly between two lists of items. Put it beside the page's readings, or have it open a closed section of past items, as the done-each-day chart opens Todoist's Completed.
- A chart's filter is the page's period row or a link to a page made with params. A button sends a request to the service or opens an address. It can't pick what a chart shows.
- Gauges, case by case. A gauge suits a reading with a fixed size that someone acts on, like how full a disk is. A reading that changes through the day is usually clearer as a chart.
- A
columnslegend can sit on the title's line ("legend_align": "trailing"). - What a forecast's bars don't show can follow them as chips: gusts, poor air, a freeze, a wet day. Not a change in temperature, which the bars already show. At most three, about what's ahead, in plain words. The card is absent when there's nothing to say, and it never counts toward the page's status.
- A year of daily activity is a
heatmap: GitHub contributions, steps, completed tasks. One per page, full width, after the trend chart; itsdetailsays the total, worked out in the page. It never counts toward the page's status. Give an absolute scalethresholds, and map a service's own levels (GitHub'scontributionLevel) rather than its colours. - A watchlist's moves are
tiles: stocks, coins or anything else with a price and a change. Keep the list's order, givemax_items(12 is three rows), and mapchangeonly when there's a real quote, so an unknown symbol shows its reason with no tint. Setscaleto a move that's big for what you're watching. Tiles never count toward the page's status; put a company's name indetail.
Titles and words
A card drops its title when the page's title and the card's value already make it obvious: a battery chart reading "80% · 259 mi · Limit 80%" on a Tesla page, a Net Worth trend. So does a card inside a tab whose title would repeat the tab's label. Every other card keeps one. If a source fills the title (map.label), remove that rule too, or the title comes back on the next fetch.
Labels and titles are cut off at one line, and the panel is narrow.
| Aim for | Good | Too long | |
|---|---|---|---|
Page title | 1–2 words, it's a sidebar row | Homelab | Homelab infrastructure status |
label | 2–4 words | Offsite backup | Status of the nightly offsite backup job |
stat delta string | A few words | 14 days to go | (16 characters is the hard limit) |
list item | Under 40 characters | Costco · $212 | On Oct 14 you spent $212.48 at Costco |
status detail | One short clause | Locked · Asleep · last report 12m ago | A paragraph |
Button label | A verb and its object, up to 24 characters | Turn on heat protection | Turn on cabin overheat protection |
- Send numbers as numbers, with a
unit."value": 1060, "unit": "USD"formats correctly in every locale;"value": "$1,060.00"doesn't. - Use
·in list items to right-align an amount:"Delta Air Lines · $189". - Don't repeat the page title in labels. On a Budget page,
October spend, notBudget: October spend. - Write for the person, not the log.
Last run 31 hours ago, notexit=0 ts=1760735102. - Say only what the service confirms. When a carrier has only made the label, the row reads
Label created, notCarrier received. A tracking number the service can't find readsTracking not found, notAwaiting first scan. - No explanatory text cards, and no note that's always there. A note that's on screen most of the time, or only restates what a card does, belongs on that card: when a chart routinely shows the 14 furthest moves, its detail says "14 furthest of 22". A note that shows only in an unusual case is different; see the honest limit under A to-do list. The other exception: a short
textcard that says how to fix missing data the person can fix, shown only while it's missing (source.when). "Tessie has no cost for these charges. Set your electricity rate in Tessie…" goes once the charges have costs.
Lists
Media rows can show their artwork (image, a path on the service's own server): posters and covers on a Now playing or Recently added row or a request for a film or show, and a shelf of four for what was just added. It's the one exception to logos in one colour; keep icons and logos plain everywhere else. Something in progress (a stream, a download) is a pacing row with a detail line and a state word such as Paused, which never counts as a problem.
Show the latest 4 rows of a recent list on an overview ("max_items": 4), and 7 of a working list, such as tasks or deliveries; the rest stay a click away under Show N more. Keep tables to about 5 rows.
Big fleets
A fleet of more than about 24 items takes max_items (24 for short names, 16 for long ones): what needs attention shows first, and the rest are a click away under Show N more. When the service has kinds of item (Services, Jobs, DNS), give the items a group instead of splitting them into several fleets: two to four groups, never one per item.
Fit the panel
The page is a narrow column, 400 points wide, beside the sidebar. The panel grows with the page until it's nearly as tall as the screen, and past that the page scrolls. Aim for a page that fits.
- Count what shows: with the health in Details, a controls row, a chart, a facts card and a short list is about right.
stat,status,countdownandgaugecards sit two across, as do apacingring, alinktile and a sparkline with"width": "half". A half-width card shares its row with the next one if that's half width too, so put them in pairs. A lone one takes the full width, and astatuswith"width": "full"always does.- Fold what's useful but not urgent into a closed section rather than letting the page scroll. Never fold what someone reads at a glance, such as a server's operating system: that goes in the facts card. A closed section with something critical inside opens itself when the page is shown. Name the section for what's in it, with a
detailthat helps decide whether to open it:All 14 charges · largest first, notMore. Use one or two sections, not a heading on every card. Keep headingids stable: the Mac remembers a section someone opened by itsid. - A closed section still counts: its cards count toward the page's status and notify like any other.
Card style
Every card draws its words in the same few styles, so cards side by side on a page read as one set. You don't set these; they're how Legato draws each part:
| Part | Looks like | For |
|---|---|---|
| Title | Small, semibold, grey, as the sidebar labels its sections | Every card's label, the one-number cards' and a status card's included; a status card's detail is the bright line under it. A link card's name stays bright, since there it's the content |
| Title figure | The title's size, regular | A total beside the title: a breakdown's "7.3 h", a pacing bar's "$412 of $600"; a text card's note |
| Big number | Large, semibold | The figure a stat, gauge, countdown, window, sparkline or ring is about |
| Row label and value | Regular, the text colour | Each row of facts, bars, breakdown, list, pacing and ranges, and a text card's body |
| Supporting | The row's size, grey | A share, "of $600", a unit after a number, a chart's second scale |
| Item icon | Grey, or its item's color | Before a row's label, never in a bar |
| Caption and detail | Small, grey | A line under the card |
What that asks of a page:
- A detail says only what the card doesn't. A "Last night" sleep card doesn't need "Asleep, night ending today"; a card over a week can say "Average of 6 nights", since nothing else on it does. Leave
detailout, or map it to""for the views that need none. - Leave chart colours to Legato unless they mean something. A chart without a
colordraws in the theme's chart colour, a quiet tint that follows the person's theme (Settings → Appearance), asgraphitedoes. Parts and series without one take five category colours in order. Name a colour only when it means the same thing on every page, such as green for Allowed. - The accent is the person's, not the page's. Buttons, switches and what's on take the accent they chose. Selection stays grey, and no page can set the accent or the theme.
- Colour an icon only when the colour means something, such as the same category colour on every page. Without
color, icons are grey, so a card of plain facts stays quiet. - An empty reading is a dash. In a source map, templates for a stat's
valueor a facts row'svaluebecome "—" when every placeholder is missing. So"{minutes} min"with no minutes shows "—". Labels, details, messages, event titles and derived text retain their surrounding words. A partly filled reading, such as "42 of —", keeps the available value. - Let the card say the arithmetic. A pacing or breakdown card with a target says the pace under its bar when the period is set (
elapsed), and nothing otherwise; don't add adetailthat repeats "x% of goal".
Use status honestly
A page's status is the worst state among its status cards, the bands its gauges are in and the items of its fleets. A text tone colours its own card and never counts. When a card moves up to warning or critical, Legato posts a macOS notification and counts the page in the red badge on its Dock icon, so protect the states: each one should mean something.
ok: working as expected.warning: needs attention soon, not now. A backup that's late, a disk at 85%, a battery under 20%.critical: needs someone now. A site down, a tire very low.unknown: you couldn't check. Don't reportokwhen you don't know.off: stopped on purpose, like a guest shut down for the night. Grey, and it counts asok.
When off's power symbol doesn't fit what the state means, give the card an icon that does. It keeps the state's colour. Use it for every case that means the same thing: a market that's shut shows a moon before the open and after the close, as well as overnight.
For anything that expires, such as a certificate, a domain or a renewal, use the expires rule rather than nested conditions: as: state lights the card or the fleet item, and as: text writes its line ("9 days left", "Expired"). In a fleet where only some items have the date, give the state "default": "ok".
A service that can answer 200 with an error in the body (GraphQL errors, success: false) gets fail on its source, so the fetch counts as failed and the card keeps its last answer with a note. Don't build a text card that shows only while the error is there. To ask whether a value is there at all (a latest release, an error), use the exists test: not: null holds for a missing value too.
Keep the words neutral: a card needs attention; it isn't "going wrong" or "failing". If a page shows warning every day, the threshold is wrong, and people will stop looking. A pacing bar is never coloured for pace and never changes the dot. A gauge with bands does, so give bands only to readings someone should act on.
Show exceptions without making everything a warning
Use source.when to decide whether a sourced card belongs on screen. Use its card type, tone or status to say what the visible information means. These are separate decisions.
- Activity: water is flowing, a car is charging. A conditional
stator a facts row can show this without changing the page's status. - Attention: a door that should be closed is open. Use
status: warningwhen someone should act soon. - Urgency: a leak. Use
criticalonly when that urgency is justified. - Uncertainty: a sensor stopped reporting. Keep that visible; don't substitute zero or
falseand make the card vanish.
Conditions are evaluated against the source's derived answer, before the card's map. A missing value, null, or a numeric comparison with a non-number makes a card's condition unknown: the card stays visible with a note. A failed fetch keeps the last answer, with an error or stale-source notice. A hidden card's source still polls. See the condition reference.
Showing no exception cards doesn't prove the whole system is healthy. Don't label an empty alert area "All clear" unless your source establishes that. Preview the page with no conditions true, one true, and every condition true, and aim for a page that still reads at a glance when everything is happening at once.
Say when it's from, if it matters
The footer of every page shows how long ago it was last updated, so you don't need a "last checked" card. If the data itself has a time that differs from the fetch (a car's last report, a forecast for Saturday), put it in the status's detail or a row.
When the service has its own window or filter for a figure, use it, and name it as the service measures it. Uptime Kuma reports uptime over 24 hours, so the row says "24 hours", not "Today".
Overview and detail pages with a period
An overview with a period row, like a Health page with Today, Week and Month, links to a detail page for each figure. Following a link carries the period: Week on Oct 18 – 24 opens Steps on the same week. That works only when the detail page has the same kind of choice, so:
- Give every detail page the overview's choices, and
"step": trueif the overview steps. Copy theperiodobject; ids and labels can differ, but aspanorlast_daysthe detail page lacks breaks the link's period. - Make every card on the detail page follow it. A detail page showing "Last 30 days" under a row that says Oct 18 – 24 contradicts itself. Request the period's days (
{period.start}to{period.through}, or{period.start_unix}for an API that takes Unix seconds), and work out the figures from those rows. - Agree with the overview. Use the same selected period and the same metric-validity rule, so a week's "Steps a day" is the same number on Health and on Steps. Missing values are not zeroes.
- One day and several days are different views. For one day, show that day and some context; for a week or a month, the average, the total for things that add up, the highest and lowest day, and a chart by day. Choose the view from
{period.id}using a derived value andwhen. - Label a chart's columns so each is different. Use
{Date|date}("Oct 31") for daily readings. - Say which days a card covers.
{period.dates}in a card's text reads "Oct 18 – 24", so a facts card about the period can take it as its label.
"period": { "step": true, "choices": [
{ "id": "today", "label": "Today", "last_days": 1 },
{ "id": "week", "label": "Week", "span": "week" },
{ "id": "month", "label": "Month", "span": "month" } ] },
"sources": { "h": { "url": "https://example.test", "requests": {
"range": "/days?from={period.start}&to={period.through}",
"recent": "/days?to={period.through}&limit=30" },
"derive": [ { "name": "shown", "value": { "template": "{period.id}" } },
{ "name": "readings", "value": { "count": "range.list", "where": { "path": "steps", "gt": 0 } } },
{ "name": "avg", "value": { "avg": "steps", "of": "range.list", "where": { "path": "steps", "gt": 0 }, "round": 0 } } ] } },
"cards": [
{ "id": "today", "type": "stat", "label": "Today", "source": { "ref": "h", "when": { "path": "shown", "equals": "today" }, "map": { "value": "recent.list[0].steps" } } },
{ "id": "avg", "type": "stat", "label": "Daily average", "source": { "ref": "h", "when": { "path": "shown", "not": "today" }, "empty": { "when": { "path": "readings", "equals": 0 }, "text": "No figures for this period." }, "map": { "value": "avg" } } },
{ "id": "days", "type": "columns", "label": "Each day", "series": ["Steps"],
"source": { "ref": "h", "when": { "all": [{ "path": "shown", "not": "today" }, { "path": "readings", "gt": 0 }] },
"map": { "items": { "each": "range.list", "where": { "path": "steps", "gt": 0 }, "sort": "date", "fields": { "label": { "template": "{date|date}" }, "values[0]": "steps" } } } } } ]Worked examples
- Tesla via Tessie (pages): three pages. The overview opens with a closed Status section (Model Y, and tiles to Charging and Trips), then Controls (charge limit and current menus | heat protection, Sentry, Lock) and Climate (climate, defrost, wheel heat, a temperature menu | seats), one battery chart with miles and the limit, a Car facts card, and recent alerts.
- Pi-hole (pages): one overview with its health in Details (Ad blocking, and Pi-hole's notes when it has some), two stats (the first with the active clients, and a Pause menu or Resume in its corner), an hourly chart and the top domains, and an Explore list to four detail pages that each hold what the overview doesn't.
- AdGuard Home (pages): Protection is in Details, and the overview opens with Controls (a Pause menu, or Resume | Safe Browsing, parental filter | Clear DNS cache), one queries-per-hour chart, two stats, a Server facts card, the top domains and Explore. Each of its four detail pages is a long list: queries, clients, blocklists, local DNS.
- A server: an overview with the host and its nightly backup in Details, half-width CPU and memory charts, a Host facts card, a fleet of guests, and an Explore list. Each guest has its own page: a Controls card (console | power | back up), half-width CPU and memory, a Stats facts card, and recent tasks.
A linked overview and detail example
Download both pages and the sample response:
These are demonstration readings, not a connection to your home. Both pages use the same read-only source URL, which lets Legato share the fetch. The sample says the garage is open and water is flowing: the garage raises a warning, while the water card is an ordinary stat. Clicking the garage opens Security, a detail page kept out of the sidebar; its Doors and Sensors tabs keep the detail compact, and ‹ Home returns.
Save the downloads in one directory and run there:
legato set design-security design-security.json
legato set design-home design-home.jsonUse these exact IDs because the links refer to them. Create the destination first so the overview's link resolves immediately.
Agent workflow: build, then verify
- Read before writing. Read the installed schema (
legato schemaorget_page_schema), the existing page and its version, and the source's actual response. Preserve unrelated content and useif_matchwhen updating an existing page. - Choose the structure. State the overview's question. Fold before you add a page. Put the health card in Details, the buttons in a controls row, one chart for the trend and one facts card for the readings.
- Build complete destinations. Give cards stable, unique IDs across the whole page, including tabs. Create linked pages before the overview; keep every link consistent with the page ID.
- Validate the result. Write with
set_pageorlegato set, and read the load status. A saved file is not necessarily a loaded page. - Exercise the states. Check quiet, busy, missing-data and failed-fetch cases, every
whenon a button pair, and a menu whose current value matches no choice.preview_pagefills the cards from a sample answer for each case, andget_page'sstatus.sourcesshows whether the real fetch worked. Confirm ordinary activity doesn't raise a light. - Check nothing moves. Look for a page that scrolls, a row of buttons that crowds its title, and a card that grows on hover. Don't press real buttons unless the person asked you to. Report the checks you couldn't do.
The page design skill
This guide also comes as a skill, a short file of instructions that an agent loads when a job calls for it. With the skill, your agent reads this guide before it designs a page, checks the design against it, and confirms that Legato loaded what it wrote. Ask it to review a page you already have, and it lists what it would change, card by card.
Install it with the skills installer, which works with Claude Code, Codex and most other agents:
npx skills add https://legatobar.comIt asks which agents to add the skill to, and whether to install it for this project or for every project (-g picks every project). Later, npx skills update fetches the newer version when this guide changes.
To install it by hand, save the skill's one Markdown file in a folder named legato-page-design, in the place your agent looks for skills: ~/.claude/skills for Claude Code, ~/.agents/skills for Codex.
Start a new session, and the agent uses the skill when you ask for a Legato page. To call it yourself, type /legato-page-design in Claude Code or $legato-page-design in Codex.
The skill reads and writes pages with Legato's tools or the legato command, so connect the agent first.
Icons
icon is an SF Symbol name. Pick one that says what the page or button is about at a glance, and prefer plain outline names over .fill variants for pages. A button's pair can use the plain and .slash or .fill forms of one symbol (eye, eye.slash). If the Mac doesn't have the symbol, the page shows a generic icon instead of an error, so a typo fails quietly. Icons points to Apple's catalog of names.