string
Name used to resolve the native component from the host app’s component registry.
Record<string, any>
Props passed through to the native component.
string
Display title shown in the web preview.
Platform[]
Platforms where the native component is available. Options:
"iOS", "macOS", "watchOS", "tvOS", "visionOS", "web", "android".Component[]
required
Fallback content displayed when the native component is not registered or not available on the current platform.
Support
Usage
Basic placeholder with fallback
Platform-specific component
With passed props
Notes
- The host app registers native views by name. At runtime, if a component matching
nameis found in the registry, it renders natively. Otherwise, thechildrenare displayed as fallback. - On the web preview in the Composer, the
titleis displayed to identify the placeholder.