AccordionDemo() — ui Function Reference
Architecture documentation for the AccordionDemo() function in accordion-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 9ebb4b01_838c_4caa_b194_d519e9a88afc["AccordionDemo()"] 5239474b_a758_a7dc_89a5_be44edcc8733["accordion-demo.tsx"] 9ebb4b01_838c_4caa_b194_d519e9a88afc -->|defined in| 5239474b_a758_a7dc_89a5_be44edcc8733 style 9ebb4b01_838c_4caa_b194_d519e9a88afc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/accordion-demo.tsx lines 8–61
export default function AccordionDemo() {
return (
<Accordion
type="single"
collapsible
className="w-full"
defaultValue="item-1"
>
<AccordionItem value="item-1">
<AccordionTrigger>Product Information</AccordionTrigger>
<AccordionContent className="flex flex-col gap-4 text-balance">
<p>
Our flagship product combines cutting-edge technology with sleek
design. Built with premium materials, it offers unparalleled
performance and reliability.
</p>
<p>
Key features include advanced processing capabilities, and an
intuitive user interface designed for both beginners and experts.
</p>
</AccordionContent>
</AccordionItem>
<AccordionItem value="item-2">
<AccordionTrigger>Shipping Details</AccordionTrigger>
<AccordionContent className="flex flex-col gap-4 text-balance">
<p>
We offer worldwide shipping through trusted courier partners.
Standard delivery takes 3-5 business days, while express shipping
ensures delivery within 1-2 business days.
</p>
<p>
All orders are carefully packaged and fully insured. Track your
shipment in real-time through our dedicated tracking portal.
</p>
</AccordionContent>
</AccordionItem>
<AccordionItem value="item-3">
<AccordionTrigger>Return Policy</AccordionTrigger>
<AccordionContent className="flex flex-col gap-4 text-balance">
<p>
We stand behind our products with a comprehensive 30-day return
policy. If you're not completely satisfied, simply return the
item in its original condition.
</p>
<p>
Our hassle-free return process includes free return shipping and
full refunds processed within 48 hours of receiving the returned
item.
</p>
</AccordionContent>
</AccordionItem>
</Accordion>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AccordionDemo() do?
AccordionDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/accordion-demo.tsx.
Where is AccordionDemo() defined?
AccordionDemo() is defined in apps/v4/registry/new-york-v4/examples/accordion-demo.tsx at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free