Identity detail is everything about one key held on the phone. A person comes here to copy or share the account ID, open the profile editor, rename the local key, back the key up as a key file, or remove the identity from the device.
At a glance
Tab | Me |
Route |
|
Screen component |
|
Presentation | pushed |
Title | inline: "Identity" |
How you get here | |
Where it leads | Edit profile (sheet); back to Me after a removal |
No screenshot here shows the revealed key file, on purpose: it is a private key.
Anatomy
One list listStyle="inset-grouped" with four sections:
Navigation bar. The platform back button and the inline title "Identity".
Profile header section (no section header).
The identity header: a 56 point Avatar, the display name in -exact-title3, and under it "Current identity" or "On this device" in footnote, secondary colour. It is the header variant of Identity rows.
"Edit profile" with a chevron.
"Use this identity", only when this is not the current identity.
Section "Account ID".
The full account ID in monospace footnote. It is selectable and wraps anywhere, so all 48 characters are readable.
"Copy account ID" with symbol:copy.
"Share account ID…" with symbol:share.
"Key name" with the name on the right in secondary colour, or "None".
Footer: "The key name is only on this device. Your public name comes from your profile."
Section "Backup".
"Export key file". Once revealed, this row is replaced by the key file text in monospace -exact-caption1 (selectable), then "Copy", "Share…" and "Hide".
Footer: "The key file is your unencrypted private key. Anyone who has it can act as this identity."
Last section. "Remove from this device", destructive (system red).
Three system alerts (dialog with role="alertdialog") belong to the screen:
Alert title | Message | Buttons |
|---|---|---|
"Rename key" | "Letters, numbers, dashes and underscores." with a text field, placeholder "Name" | "Save", "Cancel" |
"Reveal the private key?" | "The export is your unencrypted private key. Keep it somewhere safe and never share it with anyone you don’t trust." | "Reveal", "Cancel" |
"Remove this identity?" | "Its key is deleted from this device. Without its recovery phrase or a key file, it can’t be recovered." | "Remove" (destructive), "Cancel" |
States
State | What is shown |
|---|---|
Identity not on this device | One section with "This identity is no longer on this device." in secondary colour, and nothing else |
Current identity | Subtitle "Current identity", no "Use this identity" row |
Other identity | Subtitle "On this device", plus "Use this identity" |
No key name | "Key name" shows "None" |
Rename refused | The Account ID footer turns |
Exporting | "Export key file" is disabled while the key is read |
Key revealed | The key text and "Copy", "Share…", "Hide". It shows only on the screen of the identity it belongs to, and it is cleared when the person switches identity or taps "Hide" |
Actions
Gesture | Result |
|---|---|
Tap "Edit profile" | Opens the Edit profile sheet for this identity |
Tap "Use this identity" | Makes it current, with a |
Tap "Copy account ID" | Copies the ID, with a |
Tap "Share account ID…" | Opens the system share sheet, titled "Seed account ID" |
Tap "Key name" | Opens the "Rename key" alert with the current name filled in |
Tap "Export key file" | Opens "Reveal the private key?". "Reveal" shows the key file in place |
Tap "Copy" or "Share…" under the key | Copies the key file, or opens the share sheet titled "Seed key" |
Tap "Hide" | Removes the key text from the screen |
Tap "Remove from this device" | Opens "Remove this identity?". "Remove" deletes the key and returns to Me |
Long press the account ID or key text | System text selection |
Components used
Component | Kind | What it does here |
|---|---|---|
named component | 56 point disc in the header | |
inline part | The header variant: avatar, name, status line | |
primitive | The grouped list and its sections | |
primitive | The bar title, section headers, the two explanatory footers | |
primitive | Name, status, the monospace account ID and key text, footers | |
primitive | "Edit profile" | |
primitive | Use, copy, share, key name, export, copy, share, hide, remove, alert buttons | |
primitive |
| |
primitive | The name field inside the rename alert | |
primitive | The screen root and the header row | |
primitive | The rename, reveal and remove alerts |
Why it is designed this way
The one place for the identifier. DESIGN.md's fifth principle keeps z6Mk… out of primary labels. The full account ID lives here, in its own section, monospace, with copy and share beside it. See Names, not identifiers.
Two names, kept apart. The key name is local and the profile name is public. The screen separates them into two rows in two sections, and the footer says which is which. Inferred from the footer text and the comment in profile.contract.
Danger goes last and asks first. Export sits under a footer that says what a key file is, and reveals only after an alert. Removal is the last row, in red, behind another alert. See Buttons and actions.
The secret is shown in place and can be put away. The key file replaces the export row, with "Hide" next to it, and never follows the person to another identity's screen. The contract marks that rule as a review finding.
Copy and share match the old app. The contract comment says "RN parity: the account ID can be copied or shared from the identity screen". See What changed from the React Native app and why.
Difference from DESIGN.md. It describes this screen as "profile, export/backup, delete". The built screen adds the account ID section and key renaming, and moves the profile into its own sheet.
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-ID-03 Switch between my identities: Use this identity and the current or on-device subtitle
US-ID-04 See and share my account ID, and name my key on this device: The screen with the Account ID section and the Key name row
US-ID-05 Back up my key: The Backup section, the reveal alert and the revealed key
US-ID-06 Remove an identity from this device: Remove from this device as the last red row, with its alert
US-ID-07 Edit my public profile: Entry point: the Edit profile row
US-VAULT-02 Keep my identities in sync across devices: Rename and remove, the edits that travel
US-VAULT-04 Trust that my keys stay safe: Reveal only after an alert, only on its own screen; removal asks first
US-APP-06 See people and spaces by name: The one place the full account ID is shown
US-APP-09 Know the app only reaches what it must: Reveal, copy and share the key after asking
Related
Parent: Me tab screens. Neighbours: Me, Edit profile, Vault.
Patterns: Lists, Forms and inputs, Refresh, haptics and progress, Loading, failure and empty states.
Visual language: Typography, Color and tokens.
How it is built: Me: screens and components, Identity: key storage.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime