Transition.Boundary is the compound API for bounds-driven transitions.
Transition.BoundaryTransition.Boundary.TargetTransition.Boundary.Host
Transition.Boundary
Use this for both pressable and passive boundary registration.
When onPress is present, it renders as a pressable boundary. When onPress is omitted, it renders as a passive view boundary.
TSX
This is the default recommendation for new code.
Transition.Boundary.Target
Use this when the measured element is nested inside the owner.
TSX
It does not take its own id. It inherits the surrounding boundary owner and changes which descendant gets measured.
Transition.Boundary.Host
Use this to make handoff or clipping-escape placement explicit inside a scrollable or otherwise constrained coordinate space.
TSX
Most flows do not need an explicit host. Add one when escapeClipping or handoff content should be placed inside a specific local coordinate space.
Boundary Config Props
Boundary components share the same configuration props:
idgroupanchorscaleModetargetmethodenabledhandoffescapeClipping
They keep the wrapped component props as well. The root Transition.Boundary accepts onPress for pressable usage.
Related reading: Bounds Transitions.