Image
@/components/kamod-ui/image
Installation
Import Image from `@/components/kamod-ui/image`.
pnpm add @kamod-ch/uiUsage
Use alt text for accessibility and className for shape/size control.
import { Image } from "@/components/kamod-ui/image";<Image />Basic Image
Display an image with rounded corners.
Image Thumbnail
Use compact image previews in lists or cards.
API Reference
Props, slots and variants for this component.
Image
Image component props and accepted values.
| Prop | Type | Default |
|---|---|---|
| src | string | required |
| alt | string | "" |
| class | string | undefined |
Accessibility Notes
Provide descriptive alt text for informative images and empty alt text for purely decorative imagery.