arkui

Dialog

A window over the page as the page dims, a sheet along its edge, and what goes under every overlay.

Desktop

arkui::dialog · arkui::sheet · arkui::layer

A dialog faded in over the page as it dims.A dialog faded in over the page as it dims.
A dialog faded in over the page as it dims.
A sheet slid in along the window's right-hand edge.A sheet slid in along the window's right-hand edge.
A sheet slid in along the window's right-hand edge.

A dialog fades in and grows from 95% on a spring as the page dims a little ahead of it, and goes back the same way, from wherever it got to; a click on the dimmed page, its ×, or <Esc> closes it.

A sheet slides in from beyond the window's edge on a spring and back out the way it came; closed as it slides in, it turns back from where it is.

arkui::dialog

A titled window fading in and growing from 95% over a page as the page dims, as shadcn/ui's does without the blur.

Rules

rust/arkui/src/dialog.rs

arkui::sheet

A panel the window's height sliding in from its right-hand edge over the page dimmed, as shadcn/ui's sheet does without the blur.

Rules

rust/arkui/src/sheet.rs

arkui::layer

What goes under and around an overlay: a backdrop that closes on a click and swallows the wheel, a dimmed one, and pinned or centred placement.

Rules

rust/arkui/src/layer.rs

Mobile

Nothing shared for this on Android yet.

Nothing shared for this on iOS yet.