AccordionDemo() — ui Function Reference
Architecture documentation for the AccordionDemo() function in accordion-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a1288c37_a9a1_5d98_2638_b6081860b95d["AccordionDemo()"] 57ce8a77_3605_b02d_8028_0454074df5d8["accordion-demo.tsx"] a1288c37_a9a1_5d98_2638_b6081860b95d -->|defined in| 57ce8a77_3605_b02d_8028_0454074df5d8 style a1288c37_a9a1_5d98_2638_b6081860b95d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/internal/sink/components/accordion-demo.tsx lines 8–32
export 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/internal/sink/components/accordion-demo.tsx.
Where is AccordionDemo() defined?
AccordionDemo() is defined in deprecated/www/registry/new-york/internal/sink/components/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