Viewing a record in a panel

One record, opened in a panel over the list it came from: its name and what it is in the header, and its sections in tabs.

When it applies

  • Someone opens a record from a list and reads or works on it without leaving the list.
  • The CRM's opportunity workspace and contact workspace are this panel with parts of their own, like Pipeline and Task list. Those are on their own pages, not in the example screen.

Components

What makes the pattern. Each component's own page has its examples and props.

ComponentWhat it does here
DrawerThe panel, with the record's name in DrawerHeader.
TabsThe record's sections, with their panels.
ListRows read one at a time, like activity.
BadgeThe record's status.
Empty ValueA detail with nothing in it.

Rules

Each comes from AGENTS.md or a component's own best practices, gathered for this job.

GuidancePractice
DoGive DrawerHeader a title that names the record, like Supplier agreement renewal, and a subtitle for what it is.
DoPut long content in DrawerBody, which scrolls under the overlay scrollbar while the header stays put.
DoPut the panels in TabsPanels, so switching slides the new panel in and the height eases, and name the list with aria-label.
DoShow a detail that has no value with EmptyValue and a label that says what is missing, like "No due date".
Don'tTurn off the drawer's closeButton. A panel needs a visible way out besides Escape and a swipe.
Don'tUse SectionHeader or PanelHeader at the top of the drawer. DrawerHeader names the panel for screen readers and wires its close button.

See it

  • Record panel: A record opened in a panel over the list: 640 px on the right, starting under the header, with the record's name in its header and its sections in tabs.