Image

Image

Component props

Name
Type
Description
colorStringChange the background color of the image if needed
onClickFunctionHandling click events.
widthNumber or StringChange image width
heightNumber or StringChange image height
radiusNumberChange image radius
srcStringSpecify image src
qualityNumberSpecify image quality (from 0 to 100), work with static images.
unoptimizedBooleanSpecify Image Optimization
placeholderString: blurSpecify whether the image is blurred before it is loaded, work with static images.
objectFitStringSpecify the position of the image, the default value is Cover
aspectNumber: 16/9, 3/2 ...Specify the aspect ratio for automatic image resizing