product-card-horizontal

Product Card Horizontal

Product card that lays its image beside the details once its container is wide enough, with description, rating, swatches, price and add to cart.

States: Default

Parts

PartFileDoes
ProductCardHorizontalProductCardHorizontal.vueShows a product with its image beside its details and price, with an add-to-cart button.

Styling

PartRecipe
ProductCardHorizontalproduct-card-horizontal
ProductCardHorizontalproduct-card-horizontal-image
ProductCardHorizontalpart-title
ProductCardHorizontalhint
ProductCardHorizontalfocus-ring

Install

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

npm packages
@lucide/vue
@vueuse/core

Built from

API reference

ProductCardHorizontal ProductCardHorizontal.vue

Shows a product with its image beside its details and price, with an add-to-cart button.

PropTypeDefault
product*Product—
addToCartLabelstring'Add to Cart'
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-horizontalSets
base: product-card-horizontal 1 property
Recipe product-card-horizontal-imageSets
base: product-card-horizontal-image 1 property
Recipe part-titleSets
base: part-title 4 properties
Recipe hintSets
base: hint 2 properties
Recipe focus-ringSets
base: focus-ring 3 properties
Example