Props passed to the native component by the web renderer. On iOS and Android, the native component receives the props and children of the component that contains the Placeholder instead.
Platforms where the native component is available. Options:
"iOS", "macOS", "watchOS", "tvOS", "visionOS", "web", "android".Fallback content that the web renderer displays when no native component resolves. iOS and Android do not render these children; they draw a gray rounded rectangle instead.
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, iOS and Android draw a gray rounded rectangle, and the web renderer displays thechildren. - In Metabind Studio’s web preview, the
titleis displayed to identify the placeholder.