Back to docs

Recipe: Card grid layout

Six production-ready card grid patterns built with Tailwind CSS. Copy, paste, and adapt to your data.

Quick start

Every pattern uses the same base grid. Swap the column count and gap to match your design tokens.

<div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
  {cards.map(card => (
    <Card key={card.id} {...card} />
  ))}
</div>