GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

08Nested depth slide — the whole menu shifts sideways by a distance tied to the entered depth value

Each time the entered submenu depth value increases by one, the menu box's horizontal position value shifts sideways by that submenu's width value, and returning up decreases the depth value while the position value reverses.

Best forA tool with several levels of submenus, a layered menu on a mobile screen

goTo(d)PANEL_W = 168translateX(-depth * PANEL_W)
Nested depth slide — the whole menu shifts sideways by a distance tied to the entered depth value
Open in a new tab

08 Nested depth slide — the whole menu shifts sideways by a distance tied to the entered depth value — Measured area 15.822% · moving frames 8/23Original by GODRICH · SCSS and React ship in the zip · Context Menu UI: 9 Right-Click Menu Patterns

The post this demo lives in

Context Menu UI: 9 Right-Click Menu Patterns - preview of all 9 demosContext Menu UI: 9 Right-Click Menu PatternsOne menu position value is set from the clicked coordinate value, one flips its direction value near a screen edge, and See all demos in this post

If you like this effect - similar demos