AccordionDemo() — ui Function Reference
Architecture documentation for the AccordionDemo() function in accordion-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD bd00911e_5448_c2ca_ee5e_f6be880f2601["AccordionDemo()"] 625561ff_5c33_f105_3a48_002bd73014ea["accordion-demo.tsx"] bd00911e_5448_c2ca_ee5e_f6be880f2601 -->|defined in| 625561ff_5c33_f105_3a48_002bd73014ea style bd00911e_5448_c2ca_ee5e_f6be880f2601 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/examples/accordion-demo.tsx lines 8–32
export default function AccordionDemo() {
return (
<Accordion type="single" collapsible className="w-full">
<AccordionItem value="item-1">
<AccordionTrigger>Is it accessible?</AccordionTrigger>
<AccordionContent>
Yes. It adheres to the WAI-ARIA design pattern.
</AccordionContent>
</AccordionItem>
<AccordionItem value="item-2">
<AccordionTrigger>Is it styled?</AccordionTrigger>
<AccordionContent>
Yes. It comes with default styles that matches the other
components' aesthetic.
</AccordionContent>
</AccordionItem>
<AccordionItem value="item-3">
<AccordionTrigger>Is it animated?</AccordionTrigger>
<AccordionContent>
Yes. It's animated by default, but you can disable it if you prefer.
</AccordionContent>
</AccordionItem>
</Accordion>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AccordionDemo() do?
AccordionDemo() is a function in the ui codebase, defined in deprecated/www/registry/new-york/examples/accordion-demo.tsx.
Where is AccordionDemo() defined?
AccordionDemo() is defined in deprecated/www/registry/new-york/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