Skip to content
Postkit

CardGrid. A deterministic grid of related navigation cards.

  • Article structure
  • Static
  • Stability · Initial
  • ::postkit-card-grid

Explore Postkit

Choose the path that matches your publishing workflow.

Author content

Markdown, MDX, and portable documents.

Learn more

Compose a theme

Inherit from Chakra and override by recipe.

Learn more

Ship anywhere

Use the adapter for your preferred framework.

Learn more

Usage.

<CardGrid
  title="Explore Postkit"
  description="Choose the path that matches your publishing workflow."
  columns="3"
  items='[{"title":"Author content","description":"Markdown, MDX, and portable documents.","href":"#component-preview"},{"title":"Compose a theme","description":"Inherit from Chakra and override by recipe.","href":"#component-preview"},{"title":"Ship anywhere","description":"Use the adapter for your preferred framework.","href":"#component-preview"}]'
/>

Props. Always in step with the code.

PropTypeDefaultDescription
itemsRequiredJSON stringNoneA JSON array of titled cards.
titlestringNoneThe grid heading.
descriptionstringNoneSupporting copy for the grid.
columns"1" | "2" | "3" | "4""2"The preferred desktop column count.
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
  • header
  • title
  • description
  • grid
  • card
  • image
  • cardBody
  • cardTitle
  • cardDescription
  • meta
  • link

Renderers. One component, everywhere you publish.

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

Richer posts, written once, right everywhere.

© 2026 Postkit. MIT licensed.
LicensingPrivacy