Skip to main content
name
string
Name used to resolve the native component from the host app’s component registry.
props
Record<string, any>
Props passed through to the native component.
title
string
Display title shown in the web preview.
validPlatforms
Platform[]
Platforms where the native component is available. Options: "iOS", "macOS", "watchOS", "tvOS", "visionOS", "web", "android".
children
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 name is found in the registry, it renders natively. Otherwise, the children are displayed as fallback.
  • On the web preview in the Composer, the title is displayed to identify the placeholder.

See Also

  • Image — image display
  • Video — video playback