product-card-gallery

Product Card Gallery

Image-led product tile with a wishlist toggle, variant thumbnails that switch the image, badge, rating and price.

Parts

PartFileDoes
ProductCardGalleryProductCardGallery.vueShows a product with its image, colour options, price and rating, and a wishlist button.

Styling

All of Product Card Gallery’s styles live in product-card-gallery.json. New to styling in Frontic UI? How styling works →

Install

npm packages
@lucide/vue

Built from

API reference

ProductCardGallery.vue

Shows a product with its image, colour options, price and rating, and a wishlist button.

Props 13

PropTypeDefault
product*Product—
eyebrowstring—
wishlistLabelstring'Add to wishlist'
wishlistedLabelstring'Remove from wishlist'
clearoutLabelstring'Clearout'
inStoreLabelstring'In Store'
colourLabelstring'Colour'
moreColoursLabel((count: number) => string)`+${count}`
localestring—
ratingLabel((score: number, max: number) => string)—
rationumber1
surface'raised' | 'bare''raised'
classClassValue—

Events 1

EventPayload
wishlistproduct: Product

Data attributes 1

Data attributeValues
data-surface'raised' | 'bare'

Recipe product-card-title 1 group

Recipe product-card-lift 1 group

Recipe meta 1 group

Recipe hint 1 group

Recipe focus-ring 1 group

Product Card Gallery
State