LockPhone

The owner's iPhone, locked, as a satellite beside a staged window: the date, the clock and the notifications that land on it. Stageshow's iPhone (MIT, vendored in components/generated/stageshow), never one drawn by hand.

With a notification

08:04
Thursday, 8 October
08:04
OkaminowPetra booked a lash fill for Friday at 10:00.

LockPhone API

PropTypeDefaultDescription
widthnumber—Outer width in px; the height follows the iPhone's.
datestring—The lock screen's date, in the page's language.
timestring—The clock and the status bar's time.
childrenReactNode—PhoneNotifications, stacked under the clock.

PhoneNotification API

PropTypeDefaultDescription
titlestring—Bold, beside Okami's app icon: “Okami”.
bodystring—Wraps to three lines, at true iOS size.
timestring"now"In the page's language.
classNamestring—Its arrival: a motion recipe's classes.

Guidelines

  • A satellite straddles the window's edge, about half outside, and runs off the stage's foot; it never covers what the window explains.
  • Notifications stay at iOS size: if one wouldn't read, make the phone bigger and crop it, never the notification.
  • Don't edit the vendored files; LockPhone gives them Okami's tokens.