Expo

Documentation

MaskedView

@react-native-community/masked-view provides a masked view which only displays the pixels that overlap with the view rendered in its mask element.
⚠️ Android support for this library is currently experimental and you may encounter inconsistencies in behavior across platforms. Please report issues you encounter to react-native-community/react-native-masked-view/issues.

Platform Compatibility

Android DeviceAndroid EmulatoriOS DeviceiOS SimulatorWeb

To install this API in a managed or bare React Native app, run expo install @react-native-community/masked-view. In bare apps, make sure you also follow the linking instructions.