# Item

One row of a list: media, a title and description, and actions at the end. PlankUI component for React 19 and Tailwind CSS v4. Category: Display.

## Install

```bash
npx plankui@latest add item
```

## Usage

```tsx
import { Item } from "@/components/ui/item";

<ItemGroup>
  <Item media={<FileTextIcon />} title="Q4 report.pdf" description="2.4 MB" href="/files/q4" actions={<Badge>Shared</Badge>} />
</ItemGroup>
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| title | `ReactNode` | `required` | Main text. |
| description | `ReactNode` |  | A line under the title. |
| media | `ReactNode` |  | An icon, avatar or thumbnail at the start. |
| actions | `ReactNode` |  | Buttons or a badge at the end. |
| href | `string` |  | Makes the whole row a link; actions stay separate. |
| size | `"sm" \| "md"` | `"md"` | Row padding. |

Source: https://github.com/VectorLabsHQ/plankui/blob/main/components/ui/item.tsx
