ListItem() — ui Function Reference
Architecture documentation for the ListItem() function in navigation-menu-rtl.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD bc909bcd_c367_c00c_7f20_5a25c55d64d5["ListItem()"] 352392d4_d2a3_5920_7a0d_e1902ca9f85c["navigation-menu-rtl.tsx"] bc909bcd_c367_c00c_7f20_5a25c55d64d5 -->|defined in| 352392d4_d2a3_5920_7a0d_e1902ca9f85c style bc909bcd_c367_c00c_7f20_5a25c55d64d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/navigation-menu-rtl.tsx lines 217–235
function ListItem({
title,
children,
href,
...props
}: React.ComponentPropsWithoutRef<"li"> & { href: string }) {
return (
<li {...props}>
<NavigationMenuLink asChild>
<Link href={href}>
<div className="flex flex-col gap-1 text-sm">
<div className="leading-none font-medium">{title}</div>
<div className="text-muted-foreground line-clamp-2">{children}</div>
</div>
</Link>
</NavigationMenuLink>
</li>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ListItem() do?
ListItem() is a function in the ui codebase, defined in apps/v4/examples/radix/navigation-menu-rtl.tsx.
Where is ListItem() defined?
ListItem() is defined in apps/v4/examples/radix/navigation-menu-rtl.tsx at line 217.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free