---
title: "Card"
description: "Link cards with an icon, title and description."
url: https://docscn.dev/docs/components/card
lastModified: 2026-10-08T07:54:30.000Z
---

# Card (/docs/components/card)

> Link cards with an icon, title and description.

## Installation [#installation]

```npm
npx shadcn@latest add @docscn/card
```

## Usage [#usage]

```mdx
<Cards>
  <Card
    title="Getting started"
    href="/docs/getting-started"
    description="Add docs to your project."
  />
  <Card
    title="Fumadocs"
    href="https://fumadocs.dev"
    description="The framework docscn builds on."
  />
</Cards>
```

<Cards>
  <Card
    title="Getting started"
    href="/docs/getting-started"
    description="Add docs to your project."
  />
  <Card
    title="Fumadocs"
    href="https://fumadocs.dev"
    description="The framework docscn builds on."
  />
</Cards>

## Props [#props]

<TypeTable
  type={{
    title: {
      description: <>The card's title.</>,
      type: "ReactNode",
      required: true,
    },
    description: {
      description: <>Text below the title.</>,
      type: "ReactNode",
    },
    icon: {
      description: <>An icon above the title.</>,
      type: "ReactNode",
    },
    href: {
      description: <>Makes the card a link.</>,
      type: "string",
    },
    external: {
      description: <>Open the link as an external link.</>,
      type: "boolean",
    },
  }}
/>

Children render below the description. `Cards` lays cards out in two columns, and one on narrow containers. `Card` is built on shadcn/ui `card`.