{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"shadcn-studio/accordion-05","type":"registry:component","title":"Accordion 5","description":"Active state accordion with amber highlighting for expanded items and borders.","registryDependencies":["accordion"],"files":[{"path":"src/registry/new-york/components/accordion/accordion-05.tsx","content":"import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '@/registry/new-york/ui/accordion'\n\nconst items = [\n  {\n    title: 'How do I track my order?',\n    content: `You can track your order by logging into your account and visiting the \"Orders\" section. You'll receive tracking information via email once your order ships. For real-time updates, you can also use the tracking number provided in your shipping confirmation email.`\n  },\n  {\n    title: 'What is your return policy?',\n    content:\n      'We offer a 30-day return policy for most items. Products must be unused and in their original packaging. To initiate a return, please contact our customer service team or use the return portal in your account dashboard.'\n  },\n  {\n    title: 'How can I contact customer support?',\n    content:\n      'Our customer support team is available 24/7. You can reach us via live chat, email at support@example.com, or by phone at 1-800-123-4567. For faster service, please have your order number ready when contacting us.'\n  }\n]\n\nconst AccordionActiveItemDemo = () => {\n  return (\n    <Accordion type='single' collapsible className='w-full' defaultValue='item-1'>\n      {items.map((item, index) => (\n        <AccordionItem\n          key={index}\n          value={`item-${index + 1}`}\n          className='data-[state=open]:border-amber-600 not-last:data-[state=open]:border-b-2 dark:data-[state=open]:border-amber-400'\n        >\n          <AccordionTrigger className='data-[state=open]:text-amber-600 dark:data-[state=open]:text-amber-400 [&[data-state=open]>svg]:text-amber-600 dark:[&[data-state=open]>svg]:text-amber-400'>\n            {item.title}\n          </AccordionTrigger>\n          <AccordionContent className='text-muted-foreground'>{item.content}</AccordionContent>\n        </AccordionItem>\n      ))}\n    </Accordion>\n  )\n}\n\nexport default AccordionActiveItemDemo\n","type":"registry:component","target":"components/shadcn-studio/accordion/accordion-05.tsx"}]}