Skip to content

BaseImageGrid

Base Component to render 1 to 4 images in a static grid

Props

Prop nameDescriptionTypeValuesDefault
altspecify alt text (used for each image)string-''
lazyloadspecify lazy image loadingboolean-true
imagesspecify images to display in a grid

array variants to render a single image using src or srcset for a responsive image:
src: ['path']
srcset: [{ '640w': 'path' }]
array-[]

Demo