Image
Image is a simple wrapper around the native <img>
HTML element, providing styling that integrates well with the Kuma UI ecosystem.
Import
import { Image } from "@kuma-ui/core";
Usage
const ImageExample = () => {
return (
<Image
src="https://raw.githubusercontent.com/kuma-ui/kuma-ui/main/media/logo.webp"
alt="Description of image"
/>
);
};
Props
Image accepts all the same props as a standard HTML img (opens in a new tab) element.