product-card-featured

Product Card Featured

Large product card with a wishlist toggle and a feature badge on the photo, the brand above the title, a description, swatches that switch the image, and a prominent price beside a compare toggle.

Parts

PartFileDoes
ProductCardFeaturedProductCardFeatured.vueShows a product with its image and price, with compare and wishlist buttons.

Styling

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

Install

npm packages
@lucide/vue

Built from

API reference

ProductCardFeatured.vue

Shows a product with its image and price, with compare and wishlist buttons.

Props 13

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

Events 2

EventPayload
compareproduct: Product
wishlistproduct: Product

Data attributes 1

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

Recipe product-card-title-lg 1 group

Recipe product-card-lift 1 group

Recipe meta 1 group

Recipe focus-ring 1 group

Product Card Featured
State