Docs
Image

Image

An image element with an optional fallback for loading and error status.

Installation

Usage

import { ImageRoot, ImageFallback, Image } from "@/components/ui/image";
<ImageRoot>
  <Image src="https://github.com/hngngn.png" />
  <ImageFallback>HN</ImageFallback>
</ImageRoot>