Components

Image

An optimized image component with lazy loading and a skeleton

Logo
Azure Bay

isLoading

Displays a skeleton placeholder while the image is loading, ensuring a smooth UX.

With Motion

Leverages Framer Motion for smooth and customizable animations.

Azure Bay

API Reference

className

Type:

string

Additional custom class for the Image component.

Default:

fullWidth

Type:

boolean

If `true`, the image takes the full width of its container. Passed to Skeleton.

Default:

false
isLoading

Type:

boolean

If `true`, a skeleton placeholder is shown while the image loads.

Default:

false
radius

Type:

"md" | "lg" | "none" | "sm" | "xl" | "full"

Defines the border radius of the image. Passed to Skeleton.

Default:

styles

Type:

CSSProperties

Inline styles for the image. Passed to Skeleton.

Default:

Built with Motion for smooth, customizable animations. Learn more about Motion