SOUS Portal design system

Directional depth transition

Shows forward and backward navigation while the surrounding shell stays still.

Animation preview

Pattern contract

Direction is semantic: product hierarchy chooses forward or backward.

Forward

Exit `0 → -12px`, commit the destination, then enter `16px → 0`.

Backward

Exit `0 → 12px`, restore the previous view, then enter `-16px → 0`.

Stable context

Keep the global shell, parent orientation controls and container fixed.

Resilient navigation

Block repeats, preserve navigation on animation failure, restore scroll and move focus.

Motion values

PhaseTranslationDurationEasing
Forward exit0 → -12px--sous-motion-state--sous-motion-ease-exit
Forward enter16px → 0--sous-motion-state--sous-motion-ease-enter
Backward exit0 → 12px--sous-motion-state--sous-motion-ease-exit
Backward enter-16px → 0--sous-motion-state--sous-motion-ease-enter