# Card with header label and link

> Card with header label and link

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-card-18).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-card-18
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-card-18-light-1c0613b419b2434e.png
- Registry item: https://reui.io/r/new-york-v4/c-card-18.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-card-18.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `card`

## Files

### `c-card-18.tsx`

```tsx
import { Card, CardContent } from "@/components/ui/card"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

const item = {
  label: "Documentation",
  description:
    "Find guides, API references, and examples to integrate with our platform.",
  link: "View docs",
  icon: (
    <IconPlaceholder
      lucide="BookOpenIcon"
      tabler="IconBook"
      hugeicons="BookOpen01Icon"
      phosphor="BookOpenIcon"
      remixicon="RiBookOpenLine"
      aria-hidden="true"
    />
  ),
}

export function Pattern() {
  return (
    <Card className="w-full max-w-xs p-0">
      <CardContent className="p-0">
        <div className="border-b px-4 py-3">
          <div className="text-muted-foreground flex items-center gap-2 [&_svg]:size-4">
            {item.icon}
            <span className="text-foreground text-sm font-medium">
              {item.label}
            </span>
          </div>
        </div>
        <div className="space-y-3 p-4">
          <p className="text-muted-foreground text-sm leading-relaxed">
            {item.description}
          </p>
          <a
            href="#"
            className="text-primary inline-flex items-center gap-1 text-xs font-medium hover:underline"
          >
            <IconPlaceholder
              lucide="LinkIcon"
              tabler="IconLink"
              hugeicons="Link01Icon"
              phosphor="LinkIcon"
              remixicon="RiLinkM"
              aria-hidden="true"
              className="size-2.5 shrink-0"
            />
            {item.link}
          </a>
        </div>
      </CardContent>
    </Card>
  )
}
```
