Product Card

Versatile e-commerce product card with image, badge, save button, content, price, and action slots. Supports orientations, skeleton states, and price-unavailable states.

core/product-card

Installation

1 · Add registry to components.json

2 · Install component

Examples

Default

Click the heart to toggle saved state.

API Reference

PropTypeDescription
orientation
"vertical" | "horizontal"Card layout orientation.
asChild
booleanRender root as a Slot for custom elements.