# Shadcn Label & Link

> Card with header label and link

- Type: example, free and open source (MIT)
- Component: [Card](https://reui.io/components/card.md)
- Page: https://reui.io/components/card/c-card-18
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/card.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/card.md
- MCP: `get_example("c-card-18")`
- Registry item: https://reui.io/r/styles/base-nova/c-card-18.json
- Uses: Card

## Best for

A muted icon and label in a bordered top strip, then a summary and a small link with a leading chain icon

## Agent notes

- Swap `item` for your label, summary, link text and icon, and give the anchor a real `href`

## When not to use

- A bold filled icon tile leading straight into a linked title: use [Icon & Link](https://reui.io/components/card/c-card-17.md) (`get_example("c-card-17")`)

## Install

```bash
npx shadcn@latest add @reui/c-card-18
```

## About Shadcn Card

### When to use

- Titled sections with body copy and footer actions, such as a help notice or a sign in form
- Image tiles with a photo above the copy or filling the tile under a dark text overlay
- Dashboard widgets such as a KPI with a trend, a usage meter or a deployment or integration status

### When not to use

- A finished grid of KPI tiles, feature links or profile records ready to drop in: use the [Card blocks](https://reui.io/blocks/application/card.md)
- A KPI panel with a range filter, a segmented meter or an activity feed beneath it: use the [Stats blocks](https://reui.io/blocks/application/stats.md)
- A preview that pops up over a link while the pointer rests on it: use [Hover Card](https://reui.io/components/hover-card.md) (`get_component("hover-card")`)

### Agent notes

- Each example caps `Card` with `max-w-xs`, `max-w-sm` or `max-w-md`; drop the cap when the card should fill a grid cell or column
- `size` sm on `Card` tightens padding and gaps in every style; none of these examples sets it, so try it before padding overrides

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
