Image
Atom
Displays a local or remote image. Set the source ({ uri }) and a size, then choose how it fills its box with a fit prop: cover (the default) fills the box and crops the overflow, while contain fits the whole image inside and letterboxes the spare space.
Playground
Every control sets a real prop of ImageProps. The JSX below updates as you go.
Web
iOS
Android
JSX · ImageProps
Variants
2 examples from src/atoms/image/image.md, each rendered live from its own JSX.
Anatomy
1
Frame
2
Image
Dimmed parts appear only in some states or variants.
Props
76 props on ImageProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Not focusable. It has no interaction of its own and takes the semantics of what it wraps.
Semantics
Roles
img
ARIA on web
aria-hidden
aria-label
From the docs
stretch, center, repeat, and none cover the rarer fits. repeat tiles a bundled asset (or a { uri, width, height } source) at its point size on every platform, drawing the density variant that matches the screen (grain@2x.png on a 2x screen) into each tile; a box with no size of its own is one tile. A remote image with no stated size keeps React Native's own repeat. Remote images load over the network; bundle local assets with require. Name an image that carries content with alt, and it is announce
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
stretch, center, repeat, and none cover the rarer fits. repeat tiles a bundled asset (or a { uri, width, height } source) at its point size on every platform, drawing the density variant that matches the screen (grain@2x.png on a 2x screen) into each tile; a box with no size of its own is one tile. A remote image with no stated size keeps React Native's own repeat. Remote images load over the network; bundle local assets with require. Name an image that carries content with alt, and it is announced as an image with that name on every platform; an image with no name is decorative, and assistive tech skips it. The v4 hand-off rounds a standalone photo at 12 (radius="xl"); Image draws no corner of its own, so a photo inside a Card or a Video keeps its host's corner. For a circular identity photo with an initials fallback, reach for <Avatar src="…" name="…" /> rather than rounding a bare Image.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--fd
--ft
--ln
--sf3