AccordionContent() — ui Function Reference
Architecture documentation for the AccordionContent() function in accordion.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c15d5f2f_d8b9_5fbc_7bef_d736b1d22306["AccordionContent()"] 43c60c56_e922_8748_109a_3f79872dea90["accordion.tsx"] c15d5f2f_d8b9_5fbc_7bef_d736b1d22306 -->|defined in| 43c60c56_e922_8748_109a_3f79872dea90 style c15d5f2f_d8b9_5fbc_7bef_d736b1d22306 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/accordion.tsx lines 63–84
function AccordionContent({
className,
children,
...props
}: React.ComponentProps<typeof AccordionPrimitive.Content>) {
return (
<AccordionPrimitive.Content
data-slot="accordion-content"
className="data-open:animate-accordion-down data-closed:animate-accordion-up overflow-hidden text-sm"
{...props}
>
<div
className={cn(
"[&_a]:hover:text-foreground h-(--radix-accordion-content-height) pt-0 pb-2.5 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",
className
)}
>
{children}
</div>
</AccordionPrimitive.Content>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does AccordionContent() do?
AccordionContent() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/accordion.tsx.
Where is AccordionContent() defined?
AccordionContent() is defined in apps/v4/examples/radix/ui/accordion.tsx at line 63.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free