Name | Type | Description |
---|---|---|
color | String | Change the background color of the image if needed |
onClick | Function | Handling click events. |
width | Number or String | Change image width |
height | Number or String | Change image height |
radius | Number | Change image radius |
src | String | Specify image src |
quality | Number | Specify image quality (from 0 to 100), work with static images. |
unoptimized | Boolean | Specify Image Optimization |
placeholder | String: blur | Specify whether the image is blurred before it is loaded, work with static images. |
objectFit | String | Specify the position of the image, the default value is Cover |
aspect | Number: 16/9, 3/2 ... | Specify the aspect ratio for automatic image resizing |