The author header introduces an account as a person: a face, a name, and the short form of the key underneath. This is an inline part. It is not a named component in code: it is written directly inside AuthorScreen, at read.contract L420-L424, as the first row of the profile section.
Used by
Screen | Where |
|---|---|
Author profile ( | The first row of the first section |
The Me tab draws a similar header for your own identities, as a separate inline part: see Identity rows. The two are not shared code.
Inputs
It reads the loaded author page: name, avatar image and short id. The summary, the failure line and the "Home document" row that follow it in the same section are separate rows; they are described on the Author profile page.
Anatomy
A row inside a section of an inset-grouped list, so it sits in the platform's rounded group with the platform's side insets. The row has a 12 point gap, items centred vertically, and 8 points of extra padding above and below.
Nothing in the row is tappable.
Variants and states
Case | Result |
|---|---|
Image | The image cropped to a circle |
No image | A green disc with the name's initial in white, at the larger initial size the Avatar uses from 48 points up |
No name published | The name line is empty and the bar title reads "Profile"; the short id still shows (inferred from the code; the loader may supply a fallback name) |
Loading | The header is absent; the section shows a spinner |
Rules for use
One per profile screen, first.
Use 56 points for the avatar. DESIGN.md: avatars are "28 in rows and inline" and "56 in headers (current identity, profile)".
The name is always the largest text; the id is always secondary and shortened. Never show the full key here.
Keep it free of actions. Actions on a profile are rows beneath it.
Why it looks this way
Name, then short id. This is DESIGN.md's principle 5 drawn literally: "Never show z6Mk… as the primary label: use the name, then the short form (z6Mk…AvCG) in secondary text only." The id is kept at all because in Seed a name is not unique: two accounts can call themselves the same thing, and the short key is how a careful reader tells them apart. See Names, not identifiers.
The platform's profile row. A large round picture beside a bold name at the top of a grouped list is how iOS introduces an account (the Apple Account row in Settings, a contact card). Putting it inside the first group, with related rows under it, follows that convention. See Leave it unsaid and Lists.
Title3, not a large title. The bar already carries the name as an inline title. The header's name is the visual anchor on the page itself, at a size between a row title and a screen title. See Typography.
The same person everywhere. The avatar here is the same component, with the same fallback colour for the same name, as the 28 point face in a document's byline and in every DiscussBubble. Someone followed from a byline to their profile is recognisably the same person. See Color and tokens.
Difference from DESIGN.md: its route map describes the profile as "name, avatar, their home doc link" and does not mention the short id, though principle 5 implies it.
Why it is not a named component
It is five lines used once (inferred). If the Me tab's identity header and this one were ever unified, the result would be a shared named component next to Avatar in Shared components.
Related
Parent page: Inline parts. Screen: Author profile.
Rows that follow it: the "Home document" link and the Documents section of DocItemRow.
Visual language: Spacing, radii and sizes, Light and dark, Accessibility.
How it is built: Read: screens and components, Read: rows, directory and author pages, Shared components and visual design.
Source: read.contract L420-L424; the whole profile section is L419-L432.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime