# With subtitle

> Two-line trigger pairing a title with helper text.

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

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

## Install

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

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

const items = [
  {
    value: 'starter',
    title: 'Starter',
    subtitle: 'For individuals getting started',
    body: 'Includes 1 project, community support, and 1 GB of storage.',
  },
  {
    value: 'pro',
    title: 'Pro',
    subtitle: 'For growing teams',
    body: 'Unlimited projects, priority support, and 100 GB of storage.',
  },
  {
    value: 'enterprise',
    title: 'Enterprise',
    subtitle: 'Advanced security and control',
    body: 'SSO, audit logs, a dedicated success manager, and a custom SLA.',
  },
]

export function Accordion16() {
  return (
    <Accordion className="w-full max-w-md">
      {items.map((item) => (
        <AccordionItem key={item.value} value={item.value}>
          <AccordionTrigger className="items-center">
            <span className="flex flex-col gap-0.5">
              <span>{item.title}</span>
              <span className="text-muted-foreground text-xs font-normal">
                {item.subtitle}
              </span>
            </span>
          </AccordionTrigger>
          <AccordionContent className="text-muted-foreground">
            {item.body}
          </AccordionContent>
        </AccordionItem>
      ))}
    </Accordion>
  )
}
```
