Skip to content
Postkit

ProductCard. A product or recommendation card with explicit commercial linking.

  • Publishing
  • Static
  • Stability · Initial
  • ::postkit-product-card
Abstract cover artwork

Editor's pick

The Independent Publisher's Field Notes

A compact notebook for planning durable stories.

Usage.

<ProductCard
  title="The Independent Publisher's Field Notes"
  description="A compact notebook for planning durable stories."
  href="#component-preview"
  imageSrc="/component-preview.svg"
  imageAlt="Abstract cover artwork"
  price="$18"
  rating={4.5}
  badge="Editor's pick"
/>

Props. Always in step with the code.

PropTypeDefaultDescription
titleRequiredstringNoneThe product name.
hrefRequiredstringNoneThe product destination.
descriptionstringNoneThe product summary.
actionLabelstring"View product"The product action label.
imageSrcstringNoneThe product image URL.
imageAltstringNoneAlternative text for the product image.
pricestringNoneThe displayed price.
ratingnumberNoneA five-point rating.
badgestringNoneA short product badge.
relstring"sponsored"The link relationship, normally sponsored.
Appearance
size"sm" | "md" | "lg""md"The component density and type scale.
variant"outline" | "subtle" | "plain""subtle"The component visual treatment.

Every component also takes unstyled and the part-styling props. Change a default for your whole site with defaults in createPostkit. Part styles

Anatomy. Every part is yours to restyle.

Every part

  • root
  • image
  • content
  • badge
  • title
  • description
  • rating
  • footer
  • price
  • action

Renderers. One component, everywhere you publish.

  • Headless @postkit/reactSupported
  • Chakra @postkit/chakraSupported
  • Email @postkit/emailSupported
  • Astro @postkit/astroStatic
  • Web components @postkit/elementsPlanned
Postkit

Richer posts, written once, right everywhere.

© 2026 Postkit. MIT licensed.
LicensingPrivacy