Collection
Collection
Renders a collection of product tiles based on collectionId prop.
For large collections you may want to display them as carousels, by adding a carousel
prop. You can also use imgSize
prop to control the size of displayed product tiles.
example:
<Collection
collectionId={"5b2788909d25801adcb23f4f"}
carousel
imgSize={"small"}
/>

Properties:
name | description | type | required | default |
---|---|---|---|---|
collectionId | where to find | string | true | none |
carousel | enables carousel display mode | boolean | false | false |
imgSize | changes the size of single product tile | 'small', 'medium' or 'large' | false | 'medium' |
className | a custom CSS class name to apply | string | false | none |
Updated 11 months ago