Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

matchedGeometryEffect

Adds a matched geometry effect to a view.

matchedGeometryEffect(id, namespaceId)

ParameterTypeDescription
idstringThe id of the view.
namespaceIdstringThe namespace id of the view. Use Namespace component to create a namespace.

Adds a matched geometry effect to a view.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Works only in some places

Works only in a Namespace. Give two views the same id and change between them with an animation.

You can add it to any of these components, but it does something only in the place above.

Sources

The original Expo docs for this page:

On this page