VexImage
constVexImage:ForwardRefExoticComponent<VexImageProps&RefAttributes<HTMLImageElement>>
Defined in: packages/react/src/components/ui/VexImage.tsx:24
Framework-aware image component.
Renders the Image component from FrameworkComponentsContext if one is
configured (e.g. Next.js NextImage), otherwise falls back to a native
<img> tag. All props are forwarded.
props
Accepts src, alt, and any standard HTML img attributes
Returns
Section titled “Returns”An image element rendered by the injected framework component or <img>
Example
Section titled “Example”<VexImage src="/logo.png" alt="Site logo" width={120} height={40} />