.matchedGeomtryEffect from View to Sheet.

I'm trying to accomplish something like this:

https://x.com/mlaithv/status/1835041850236838265

But it seems like Apple uses a Private API to pull it off. Has anyone managed to create something similar? I know there is a package named Transmission that can do it but it seems hacky & I'm unfamiliar with UIKit. The source uses a "custom modal" but I'm not sure how.

.matchedGeomtryEffect from View to Sheet.
 
 
Q