# Separated cards

> Each item is a bordered card with spacing between them.

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

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

## Install

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

## Files

### `registry/patterns/accordion/accordion-05.tsx`

```tsx
import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from '@/components/ui/accordion'

const items = [
  {
    value: 'overview',
    title: 'Project overview',
    body: 'A summary of goals, scope, and the people involved in this project.',
  },
  {
    value: 'timeline',
    title: 'Timeline',
    body: 'Key milestones and delivery dates across the next two quarters.',
  },
  {
    value: 'resources',
    title: 'Resources',
    body: 'Links to design files, the repository, and the shared drive.',
  },
]

export function Accordion05() {
  return (
    <Accordion defaultValue={['overview']} className="w-full max-w-md gap-3">
      {items.map((item) => (
        <AccordionItem
          key={item.value}
          value={item.value}
          className="rounded-lg border px-4 not-last:border-b"
        >
          <AccordionTrigger>{item.title}</AccordionTrigger>
          <AccordionContent className="text-muted-foreground">
            {item.body}
          </AccordionContent>
        </AccordionItem>
      ))}
    </Accordion>
  )
}
```
