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.
| Component | What it does here |
|---|---|
| Drawer | The panel, with the record's name in DrawerHeader. |
| Tabs | The record's sections, with their panels. |
| List | Rows read one at a time, like activity. |
| Badge | The record's status. |
| Empty Value | A detail with nothing in it. |
Rules
Each comes from AGENTS.md or a component's own best practices, gathered for this job.
| Guidance | Practice |
|---|---|
| Do | Give DrawerHeader a title that names the record, like Supplier agreement renewal, and a subtitle for what it is. |
| Do | Put long content in DrawerBody, which scrolls under the overlay scrollbar while the header stays put. |
| Do | Put the panels in TabsPanels, so switching slides the new panel in and the height eases, and name the list with aria-label. |
| Do | Show a detail that has no value with EmptyValue and a label that says what is missing, like "No due date". |
| Don't | Turn off the drawer's closeButton. A panel needs a visible way out besides Escape and a swipe. |
| Don't | Use 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.