Skip to main content
161

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
React Native docs
Data displayReact Native

Image

Present native images with shared fit, ratio, radius, and accessibility behavior.

Public APILumenImageReact Native

Native example

Use Image

Use for product imagery that needs shared fitting, aspect ratio, radius, and labeling. Keep decoding, caching, network policy, placeholders, retries, and optimizer behavior in the application or platform loader.

View verified React Native runtime capture
Image rendered in the Expo web renderer Lumen playground
Verified runtime captureExpo web renderer
tsx
<LumenImage
  aspectRatio={16 / 9}
  fit="cover"
  label="Mountain valley at sunrise"
  source={{ uri: imageUrl }}
/>

Reference

Public API

The primary shared and platform-specific options exposed by LumenImage.

APIValues or typeDefaultDescription
sourceNative image source or contentRequiredSupplies image pixels through the platform-native delivery path.
fitcontain · covercoverControls how the image fits its available bounds.
aspectRationumberundefinedReserves a positive finite width-to-height ratio when provided.
radiusnone · sm · md · lg · fulllgClips the image with a shared semantic corner radius.
labelstringundefinedNames meaningful imagery; omit only for decorative images.

Native behavior

Design and accessibility

When to use it

Use for product imagery that needs shared fitting, aspect ratio, radius, and labeling. Keep decoding, caching, network policy, placeholders, retries, and optimizer behavior in the application or platform loader.

Accessibility

Images are decorative when their label is absent; a label exposes the complete image as one native accessibility element.

Shared component

Available on other platforms

Apple / SwiftUIAndroid / Compose
React Native docsNative primitives