Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Image displays a bitmap, system symbol, or inline SVG from a URL, an asset name, or base64 data. Video plays remote or local video with autoplay, muting, looping, and controls options. Model3D renders an interactive 3D model with optional camera controls and auto-rotation.
Image
Displays an image from a URL, asset name, system icon, or inline SVG.ImageProps type is a union requiring exactly one image source, plus an optional contentMode:
How the image should be scaled to fit its container.
Name of an image asset in the app bundle.
Name of a system-provided symbol (SF Symbols on iOS).
URL of a remote image to load.
Base64-encoded image data.
Inline SVG markup as a string.
Image component returns an extended Image interface with image-specific chainable methods in addition to the standard Component modifiers:
Makes the image resizable so it fills its frame. Required for
.frame() to affect image size.Controls how the image is rendered.
"original" preserves the image’s original colors; "template" renders as a single color using the current foreground style.Sets the interpolation quality for scaled images.
Enables or disables antialiasing on image edges. Defaults to
true if called without arguments..symbolRenderingMode(mode)
(mode: "monochrome" | "hierarchical" | "palette" | "multicolor") => Image
Sets how multi-layer system symbols are rendered.
Sets the symbol scale relative to adjacent text.
Video
Plays video from a URL or asset name with configurable playback options.VideoProps type requires either a url or video source, plus optional playback settings:
URL of a remote video to load.
Local video asset name.
Whether the video starts playing automatically. Defaults to
false.Whether the video is muted. Defaults to
false.Whether playback controls are shown. Defaults to
true.Whether the video loops continuously. Defaults to
false.How the video is scaled within its frame. Defaults to
"fit".Model3D
Displays an interactive 3D model from a URL.URL to the 3D model file. Supports common formats like
.glb, .gltf, and .usdz.iOS-specific URL for the model, typically a
.usdz file optimized for Apple platforms. When provided, iOS uses this URL while other platforms use url.Accessibility description of the 3D model for screen readers.
Whether the user can zoom, pan, and rotate the camera to examine the model.
Whether the model automatically rotates for showcase purposes.
.usdz format is recommended for iOS AR Quick Look integration. .glb / .gltf formats provide good cross-platform compatibility. Auto-rotate is useful for product showcases where user interaction is not required.See also
- Text — captions and overlays for media
- Markdown — render rich text alongside media
- ZStack — overlay text or controls onto media
- LinearGradient — readability gradient over images