This is the inventory behind the Cards and panels pattern: the 13 surfaces the mobile app paints itself, with exact values, and the three status panels that look like cards but are drawn by the platform.
Every surface
Surface | Where | Background | Radius | Padding | Notes |
|---|---|---|---|---|---|
Embed card | DocBlockView, |
| 12 | 14, gap 6 | 3-point left edge in |
Query card |
| 12, clipped | 12, gap 4 | Cover 120 points, or 200 for the banner card; cards wrap at a 200-point basis with a 12-point gap | |
"In this space" panel |
| 12 | 0 14 | DocItemRow rows split by 1-point separators, under an uppercase footnote label | |
Code and math block | DocBlockView, |
| 10 | 12 14, gap 6 |
|
Media row | DocBlockView, |
| 10 | 12, gap 10 | Symbol in |
Image block | DocBlockView, | none | 10 | none | Full width, at most 480 points tall, caption under it |
Button block | DocBlockView, |
| 999 | 8 16 | A pill with |
Comment bubble |
| 18 | 8 12 | Hugs its text, never wider than the column | |
Chat bubble, theirs |
| 18 | 8 12 | At most 94% of the width, left | |
Chat bubble, mine | Chat messages |
| 18 | 8 12 | At most 80% of the width, right, |
Tool card |
| 10 | 12, gap 8 | Margin 4 16; expands in place to show input and output | |
Run card |
| 10 | 12, gap 8 | Margin 4 16; title, Badge, steps, duration, actions | |
Composer field | transparent | 20 | 0 4 0 12 | 1-point |
Two more pieces are painted but are not cards: the "Add a comment" pill in DiscussSection (brand, radius 999, padding 12 18) and the 8-point unread dot in Activity.
Status panels are not painted
The email status panel, the vault status panel and the vault connect panel look like cards, but the app paints nothing for them. Each is a section of an inset grouped list, so the platform draws the white (or dark grey) card, its corners and its insets. A status panel is a headline, a secondary sentence and action rows in one section.
User stories
This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).
US-READ-08 See the documents under and inside a document: The embed card, query card and child panel surfaces
US-AGENT-06 See what the agent is doing: Tool and run cards among all card surfaces
US-APP-03 Use the app in light or dark: Every painted surface with its background role
Related
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime