product-card-minimal

Product Card Minimal

Quiet product tile with colour pills, name and subtitle, rating, colour count and price; linked as a whole when it has no colour pills.

Parts

PartFileDoes
ProductCardMinimalProductCardMinimal.vueShows a product with its image, name, price and number of colours.

Styling

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

Install

Built from

API reference

ProductCardMinimal.vue

Shows a product with its image, name, price and number of colours.

Props 10

PropTypeDefault
product*Product—
colorCountLabel((count: number) => string)`${count} ${count === 1 ? 'Color' : 'Colors'}`
clearoutLabelstring'Clearout'
inStoreLabelstring'In Store'
colourLabelstring'Colour'
localestring—
ratingLabel((score: number, max: number) => string)—
rationumber1
surface'raised' | 'bare''raised'
classClassValue—

Data attributes 1

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

Recipe product-card-minimal-image 1 group

Recipe product-card-title 1 group

Recipe product-card-lift 1 group

Recipe hint 1 group

Recipe meta 1 group

Recipe focus-ring 1 group

Product Card Minimal
State