# Ghost

> Borderless minimal rows with an active color on open.

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

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

## Install

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

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

const faqs = [
  {
    q: 'What payment methods do you accept?',
    a: 'All major credit cards, plus PayPal and bank transfer on annual plans.',
  },
  {
    q: 'Do you offer student discounts?',
    a: 'Yes — verified students and educators get 50% off any paid plan.',
  },
  {
    q: 'Can I export my data?',
    a: 'Export everything to JSON or CSV at any time, with no lock-in.',
  },
]

export function Accordion12() {
  return (
    <Accordion className="w-full max-w-md">
      {faqs.map((faq, index) => (
        <AccordionItem
          key={faq.q}
          value={`item-${index}`}
          className="border-b-0"
        >
          <AccordionTrigger className="aria-expanded:text-primary py-3 hover:no-underline">
            {faq.q}
          </AccordionTrigger>
          <AccordionContent className="text-muted-foreground">
            {faq.a}
          </AccordionContent>
        </AccordionItem>
      ))}
    </Accordion>
  )
}
```
