1. Home
  2. ChevronRightMdx
  3. ChevronRightCard & Cards

Card & Cards

Organize navigation or highlight important features in responsive card grids using the Card and Cards components.

The <Card> and <Cards> components allow you to group related links, features, or external resources into clean, clickable tiles.


UsageLink

Use <Cards> as a responsive grid wrapper, and populate it with individual <Card> children.

import { Rocket, Settings } from 'lucide-react'

<Cards cols={2}>
  <Card title="Quick Install" icon={<Rocket />} href="/docs/guides/getting-started/installation">
    Install Boltdocs in under 2 minutes.
  </Card>
  <Card title="Configuration" icon={<Settings />} href="/docs/guides/getting-started/configuration">
    Configure boltdocs.config.ts to match your project needs.
  </Card>
</Cards>

Cards PropsLink

PropTypeDefaultDescription
cols1 | 2 | 3 | 42Number of columns in the grid layout on desktop screens.

Card PropsLink

PropTypeDefaultDescription
titlestringRequiredBold header text displayed at the top of the card.
iconReactNodeundefinedA Lucide icon or custom SVG element to display next to the card title.
hrefstringundefinedTarget link destination. When provided, makes the entire card a clickable link. Supports internal route paths and external URLs.
childrenReactNodeundefinedBody description text or custom React elements.
Last updated on July 27, 2026

Was this page helpful?