Skip to main content
The Image component is a primitive for rendering responsive images with theme-aware styling.

Import

Usage

Props

string
required
Image source URL.
string
required
Alternative text for accessibility.
string
Image variant from theme.images.
ThemeUIStyleObject
Theme-aware styles for custom image appearance.
string | number
Image width.
string | number
Image height.
'lazy' | 'eager'
Browser lazy loading behavior.

Inherited Props

Image extends Box and accepts:
  • All standard HTML img attributes
  • Box spacing props (m, p, mx, my, px, py, etc.)

Default Styles

The Image component includes these base styles:
This ensures images are responsive by default and don’t overflow their containers.

Examples

Basic Image

Rounded Image

Image with Shadow

Responsive Image Sizes

Image with Border

Fixed Size Image

Lazy Loaded Image

Image with Overlay