Image
Display bundled offline package images (assets/), public HTTPS images, or base64 data with Retina sharpness, aspect fill/fit scaling, and optional scrim overlays.
Signature#
SIGNATURE
<Image
asset="cover.png"
width={64}
height={64}
cornerRadius={12}
scaleMode="fill"
clip={true}
/>
64 × 64 · r12 · fill
Props#
Inherits StyleProps:
assetstringOptional- Relative path to a bundled PNG/JPG/WebP/SVG inside
assets/(e.g."cover.png"). srcstringOptional- Public
https://image URL (automatically cached in memory by the host). base64stringOptional- Inline base64-encoded image bytes.
scaleModestringDefault "fill"- Scaling mode:
"fill"crops to cover (combine withclip={true});"fit"keeps the entire image visible. tintOverlaystringOptional- Semi-transparent scrim overlay (e.g.
"#00000033") to boost legibility for text drawn over photos.
Example: Fill, Fit & Tint Overlay#
TSX
<HStack spacing={12}>
<Image asset="cover.png"
width={64} height={64} cornerRadius={12}
scaleMode="fill" clip={true} />
<Image asset="cover.png"
width={64} height={64} cornerRadius={12}
scaleMode="fit" clip={true} />
<Image asset="cover.png"
width={64} height={64} cornerRadius={12}
tintOverlay="#00000044" clip={true} />
</HStack>
fill · fit · tintOverlay


Aa