v0.1 public beta early access on GitHub
Home / Components / image

ImageAndroid

Cached image with placeholder, fallback and aspect handling.

$ npx lumioui add image
import { Image } from "@/components/ui/image/image";
Props7
rounded? "none" | "sm" | "md" | "lg" | "xl" | "full" Corner radius preset.
aspectRatio? number width / height ratio applied via style.
fallback? React.ReactNode Slot rendered when the image fails to load.
hidePlaceholder? boolean Hide the loading placeholder. Default false.
alt? string Alt text for the image — alias for `accessibilityLabel`. When neither is provided the label is left unset so the OS can decide what to announce.
className? string
style? RNImageProps["style"]
Image — Fallbackfallback.tsx
image/variants/fallback.tsx open

Cached image with placeholder, fallback and aspect handling.

Image — Photophoto.tsx
image/variants/photo.tsx open

Cached image with placeholder, fallback and aspect handling.

Image — Roundedrounded.tsx
image/variants/rounded.tsx open

Cached image with placeholder, fallback and aspect handling.