Skip to content

Product Card

Shop card for courses, prints and templates: cover, badge, details, price with a compare-at discount and a call to action. The whole card is one link.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/product-card
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Minimal

No card border or padding, just the artwork with text below. Suits print shops and photography; this one links to an external store, so the title shows ↗.

Shop

A responsive shop grid (a list of products) mixing discounted, new and free products; the free one downloads from an external store. Footers line up because every card fills its row.

API Reference