Master-detail
Master-detail is a layout that shows a list and the record selected in it side by side, so people can move from one record to the next without losing their place. In business apps it is the usual way to review orders, invoices or requests. Meadowstack opens a record in a side panel beside its list first, and the same view grows into a full page when needed.
By Bohuslav PoláčekChecked
* RecordPeek: a record opened beside its list (Linear's peek) that grows into
* its own page and back.
*
* Why (product owner, Oct 2026): a record first slides out from the side, so
* people can click between records without losing the list; a button in the
* panel's corner enlarges it to the full page with an animation, and the page
* can go back to the panel. It is the framework's rule for records with a
* list (AGENTS.md), so it lives in the kit, not in each app.
*
* - Desktop (640px and up): a non-modal panel, 32rem (512px) wide, inset 8px
* like the page panel. 512px sits inside the 480 to 560px the brief asked
* for and leaves 650px of a 1440px list visible beside it (the task panel's
* 36rem left 580px). The list behind stays usable: clicking another row
* swaps the record in place, nothing closes and reopens, and a click outside
* never closes the panel.
* - Inside AppShell on a desktop (1024px and up) the panel moves the page
* aside instead of covering it (audit, 25 Oct 2026: it hid the table's
* right columns): the shell gives it the place of the assistant's column,
* below the banner, and the page panel narrows with the same curve; the
* table then drops its less important columns (DataTable's hideOnMobile
* follows the table's own width). Where the page would keep less than
* 40rem (a wide panel on a laptop, the assistant open), it covers the page
* as before.Why it matters in a business app
A buyer checks this week's supplier invoices one by one: open, compare the amount, approve, next. If each invoice replaces the list, every step is a round trip back and a hunt for the row they were on. Side by side, the list stays where it was, the open row is marked, and the next invoice is one key away.
It also lets people compare: the list's columns stay visible while the record shows what the columns cannot.
How Meadowstack handles it
- Peek first. Records with a list open in
RecordPeekbeside it, with the record's id in the address (?nahled=<id>), so a link opens the same view. The corner button expands it to the full page and back; both use one view component. - The list stays usable. A click on another row swaps the record in place; a click outside never closes the panel.
- Room for both. On a desktop inside
AppShellthe panel moves the page aside, andDataTablehides its less important columns by its own width. Where the page would keep less than 40rem, the panel covers it. - Keys. Esc closes; Alt+ArrowUp and Alt+ArrowDown step to the previous and next record in the order on screen.
- Phones. The same panel is a full-screen sheet.
- Queues. The
worklistandinboxarchetypes keep list and item in two regions, and open the most interesting record first.
The component page is RecordPeek, the pattern record side panel.
Common mistakes
- A modal that closes on an outside click. The person clicks the next row and loses the record and the list position at once.
- Two components for panel and page. They drift apart; one shows a field the other forgot.
- No address. A record that cannot be linked to cannot be sent to a colleague.
- A panel over the columns people compare. Let the table drop its least important columns instead.
Questions
What is the difference between master-detail and a modal?
A modal blocks the page behind it until it closes. A master-detail panel leaves the list usable, so people can click from record to record while it stays open.
How does master-detail work on a phone?
There is no room for both, so the record opens as a full-screen sheet over the list and closing it returns to the same place in the list.
When should a record open as its own page instead?
When people spend a long time in one record, such as a project with tabs for items and history. In Meadowstack the panel's corner button turns it into that full page without leaving the record.
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app