DocItemRow is how Seed Exact lists a document wherever documents are listed one under another. It is a named component defined in read.contract L124-L149. The whole row is one link that pushes the document.
Used by
Parent | Where |
|---|---|
Document and site home ( | The "In this space" panel of child documents |
Author profile ( | The Documents section |
A query block in any style other than Card; see embed and query blocks |
Props
Prop | Type | Effect |
|---|---|---|
| a document item | Supplies the destination, title, summary, date, image, authors, the number of further authors, and the comment count |
| string | For tests only |
It also receives the app's minute clock by injection, which is what lets "5 min. ago" tick forward without reloading.
Anatomy
A link laid out as a row: 12 point gap, 10 points of padding above and below, items centred vertically.
Thumbnail, only when the document has an image: 48 by 48 points, radius 10, cropped to fill.
Text column, taking the remaining width, 2 points between lines:
Title in -exact-headline, -exact-label. It is not clamped, so a long title wraps.
Summary in -exact-subheadline, -exact-secondary-label, at most two lines.
Meta line in -exact-footnote, -exact-secondary-label, 6 point gaps, wrapping if needed: the authors' names joined by commas (one line at most, with " +N" when there are more than three), a middle dot "·" in -exact-tertiary-label, the date, then CommentCount.
Chevron: symbol:forward-chevron in -exact-tertiary-label.
The date is relative within a week ("now", "5 min. ago", "3 hr. ago", "1 day ago", "4 days ago") and a medium date after that ("Oct 29, 2026").
Variants and states
Case | Result |
|---|---|
No image | No thumbnail; the text starts at the row's edge |
No summary | Title and meta line only |
No authors | The meta line starts with the date, with no dot |
No date, authors or comments | No meta line at all; the row is a title and a chevron |
Two accounts with the same name | The name is listed once |
The row has no loading or disabled state. Pressed feedback is the platform's for a link.
How its container changes it
The row draws no background and no separator. Its parent supplies them, and there are two forms:
Container | Looks like | Where |
|---|---|---|
A painted panel: | A grouped card inside the reading column | "In this space" |
No panel, only the 1 point lines between rows | Rows directly on the page | List-style query blocks |
A platform | A native grouped row | Author profile |
On the Author profile the platform adds its own row insets and separators. See Lists for the two kinds of list in the app.
Rules for use
Use it for any vertical list of documents.
Use DocCard instead when the author of the document asked for cards (a Card-style query).
Do not put a second tap target inside it. Authors are text here, not links.
Do not show an account key. authorNames uses names only.
Why it looks this way
It is the platform's row shape. Title in headline, secondary line beneath, chevron at the trailing edge: the layout of a Settings or Mail row. A person knows it navigates without being told. See Leave it unsaid. It is painted by hand only because it must also work inside the reading column, where a platform list cannot sit.
Authors as names. A row has width to spare, so it spells the names; the tests assert it ("document rows name their authors"). Cards, which are narrower, use a FacePile. See Names, not identifiers.
Hierarchy by type style, not colour. Three text styles step down from headline to subheadline to footnote. See Typography.
One tap to anywhere. DESIGN.md's principle 3 says "child documents are listed under each document"; this row is that list.
Differences from DESIGN.md: it names the component DocRow(title, summary, date) and places it in the shared ui.contract. The built row lives in read.contract, takes a whole item, and adds the thumbnail, authors and comment count.
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-03 Follow links between documents: A document row that opens its document
US-READ-08 See the documents under and inside a document: A document row: thumbnail, title, summary, authors, date, comments
US-READ-09 See who wrote a document and visit their profile: The rows of the Documents section
Related
Parent page: Read components.
Patterns: Lists, Cards and panels. Visual language: Spacing, radii and sizes, Symbols and icons, Voice and wording.
How it is built: Read: screens and components, Read: rows, directory and author pages.
Source: read.contract L124-L149.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime