arkui

Page motion

Going in and coming back: a page grows over the last, and a swipe from the edge takes it away.

Desktop

arkui::swipe · arkui::history

On the desktop, two fingers sideways over the page go back and forward (arkui::swipe). In a browser the browser's own back does it.

arkui::swipe

Two fingers sideways as back and forward, with the arrow drawn over the page as they go.

Rules

rust/arkui/src/swipe.rs

arkui::history

Back and forward every way an app is asked: the browser's buttons, ^O and ^I, and two fingers sideways. The router and the swipe, wired once.

Rules

rust/arkui/src/history.rs

Mobile

Where

  • ui/Motion.kt: PageFrame, Moving, PageBack, Hero

How

  • PageBack(motion, blocked, toFirst): the edge swipe, following the finger.
  • Hero carries a picture from the card to the page's header.

Nothing shared for this on iOS yet.