Image Skeleton
View in FigmaA shimmer placeholder for images with shape variants and customizable aspect ratio.
Media & VisualsImport
import { ImageSkeleton } from "@/components/ui"API
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "sm" | "md" | "lg" | "custom" | "md" | Skeleton dimensions. |
| shape | "square" | "rounded" | "circle" | "square" | Shape variant. |
| aspectRatio | string | — | Custom CSS aspect ratio. |
| icon | boolean | true | Show center image icon. |