# Group

> Multiple rows grouped together with thin dividers between each row.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/item-11).

- Page, with a live preview: https://shadcn.exchange/r/flx/item-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/item-11-light-99f6f46e62f157fd.png
- Registry item: https://ui.flexnative.com/r/item-11.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/item-11.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: `item`

## Files

### `registry/patterns/item/item-11.tsx`

```tsx
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemGroup,
  ItemMedia,
  ItemSeparator,
  ItemTitle,
} from '@/components/ui/item'
import { CreditCardIcon, MailIcon, ShieldIcon } from 'lucide-react'

const items = [
  {
    icon: MailIcon,
    title: 'Email preferences',
    description: 'Choose which product emails you receive.',
  },
  {
    icon: ShieldIcon,
    title: 'Security',
    description: 'Password, sessions, and two-factor auth.',
  },
  {
    icon: CreditCardIcon,
    title: 'Billing',
    description: 'Plan, invoices, and payment methods.',
  },
]

export function Item11() {
  return (
    <ItemGroup className="w-full max-w-md">
      {items.map((item, index) => (
        <div key={item.title}>
          <Item>
            <ItemMedia variant="icon">
              <item.icon />
            </ItemMedia>
            <ItemContent>
              <ItemTitle>{item.title}</ItemTitle>
              <ItemDescription>{item.description}</ItemDescription>
            </ItemContent>
          </Item>
          {index < items.length - 1 && <ItemSeparator />}
        </div>
      ))}
    </ItemGroup>
  )
}
```
