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

glassEffectId

Associates an identity value to Liquid Glass effects defined within a GlassEffectContainer.

glassEffectId(id, namespaceId)

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

Associates an identity value to Liquid Glass effects defined within a GlassEffectContainer.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Works only in some places

Works only on a view that also has glassEffect, in a GlassEffectContainer and a Namespace.

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