# Shadcn Badge & Actions

> Card with header badge and actions

- Type: example, free and open source (MIT)
- Component: [Card](https://reui.io/components/card.md)
- Page: https://reui.io/components/card/c-card-16
- 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-16")`
- Registry item: https://reui.io/r/styles/base-nova/c-card-16.json
- Uses: Avatar, Badge, Button, Card, Dropdown Menu

## Best for

An integration tile: a Live strip with a dots menu, an Installed badge, 3 avatars plus a count, and a full width Open button

## Agent notes

- `AvatarGroupCount` shows a fixed +3 beside 3 sample avatars; compute the count from your member list
- The Edit and Copy link `DropdownMenuItem` entries and the Open `Button` have no handlers yet

## Install

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

## 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.
