# Shadcn Status Badges

> Item group with status badges

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

## Best for

Team presence rows in a spaced group, each with a photo, a role and an Online, Away or Offline badge

## Agent notes

- Each presence `Badge` variant is typed by hand per person; map your live status to success, warning or outline

## When not to use

- Members who need a role label plus a menu of row actions: use [Team Roles](https://reui.io/components/item/c-item-9.md) (`get_example("c-item-9")`)

## Install

```bash
npx shadcn@latest add @reui/c-item-5
```

## About Shadcn Item

### When to use

- Rows of people, files, services or events, each an avatar or icon beside text, a badge or a button
- Clickable menus of account pages, mailbox folders or commands, ending in a chevron, count or key
- A compact record card with a header and footer, such as a project with status, team and progress

### When not to use

- A finished dashboard panel of KPIs, transactions or integrations with data on every row: use the [List blocks](https://reui.io/blocks/application/list.md)
- A whole page of account options in labeled rows, each with its own switch, select or input: use the [Settings blocks](https://reui.io/blocks/application/settings.md)
- Rows the user reorders by dragging them up or down the page: use [Sortable](https://reui.io/components/sortable.md) (`get_component("sortable")`)

### Agent notes

- Make a row a link through `render` on the base twin or `asChild` on radix; every style draws the hover fill only when the row is an anchor
- `ItemGroup` sets `role` list but `Item` sets no listitem role, so wrap each row in an element that carries it
- `ItemTitle` clamps to 1 line and `ItemDescription` to 2, so longer text is cut off until a `className` lifts the clamp

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.
