product-card-hover

Product Card Hover

Linked product tile whose quick-add button slides up over the image on hover or focus, with name, price, rating and colour dots.

States: Default, Hover

Parts

PartFileDoes
ProductCardHoverProductCardHover.vueShows a product with its image and price, with a quick-add button.

Styling

PartRecipe
ProductCardHoverproduct-card-hover-image
ProductCardHoverpart-title
ProductCardHoverfocus-ring

Install

Writes 3 files into components/sections/product-card-hover/. For agents, npx @frontic/ui docs product-card-hover prints this reference as markdown; the MCP server serves the same.

npm packages
@lucide/vue
@vueuse/core

Built from

API reference

ProductCardHover ProductCardHover.vue

Shows a product with its image and price, with a quick-add button.

PropTypeDefault
product*Product—
quickAddLabelstring'Quick add'
addedLabelstring'Added'
clearoutLabelstring'Clearout'
inStoreLabelstring'In Store'
localestring—
ratingLabel((score: number, max: number) => string)—
surface'raised' | 'bare''raised'
classClassValue—
EventPayload
add-to-cartproduct: Product
Data attributeValues
data-surface'raised' | 'bare'
Recipe product-card-hover-imageSets
base: product-card-hover-image 1 property
Recipe part-titleSets
base: part-title 4 properties
Recipe focus-ringSets
base: focus-ring 3 properties
Example
State