Docs
Image
Image
An image element with an optional fallback for loading and error status.
HN
Installation
npx shadcn-solid@latest add image
Usage
import { ImageRoot, ImageFallback, Image } from "@/components/ui/image";
<ImageRoot>
<Image src="https://github.com/hngngn.png" />
<ImageFallback>HN</ImageFallback>
</ImageRoot>