pub enum ChromePosture {
Desktop,
WatchCompact,
SideSafeRailLeft,
SideSafeRailRight,
TopSafeHeader,
StandardMobile,
}Expand description
Normalized hardware display posture inferred purely from viewport dimensions and safe-area geometry.
Variants§
Desktop
Desktop / PC / wide landscape tablet (>= 960dp) with persistent left sidebar.
WatchCompact
Compact smartwatch dial (< 300dp on either axis).
SideSafeRailLeft
Asymmetric left-side hardware safe-area strip hosting borderless persistent vertical navigation (iPhone Duo rotated left-safe / split).
SideSafeRailRight
Asymmetric right-side hardware safe-area strip hosting borderless persistent vertical navigation (iPhone Duo folded/unfolded/split).
TopSafeHeader
Wide top hardware safe-area strip hosting the page top bar (avoiding the top-right hardware zone) while navigation docks at the bottom (iPhone Duo unfolded portrait).
StandardMobile
Standard mobile / tablet portrait / MiniApp / QuickApp / symmetric landscape layout with bottom navigation dock.