navigation-menu-example.tsx — ui Source File
Architecture documentation for navigation-menu-example.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e3774b6e_48ef_4175_a3b3_714a872ad4a1["navigation-menu-example.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] e3774b6e_48ef_4175_a3b3_714a872ad4a1 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 ba3d44f3_7b34_f9cc_6283_44817785c0df["link"] e3774b6e_48ef_4175_a3b3_714a872ad4a1 --> ba3d44f3_7b34_f9cc_6283_44817785c0df f56be340_a522_c6f7_dec3_5906873d14c8["example"] e3774b6e_48ef_4175_a3b3_714a872ad4a1 --> f56be340_a522_c6f7_dec3_5906873d14c8 15890344_140a_78b6_3309_9f3b3378b2ff["navigation-menu"] e3774b6e_48ef_4175_a3b3_714a872ad4a1 --> 15890344_140a_78b6_3309_9f3b3378b2ff de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] e3774b6e_48ef_4175_a3b3_714a872ad4a1 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style e3774b6e_48ef_4175_a3b3_714a872ad4a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import Link from "next/link"
import {
Example,
ExampleWrapper,
} from "@/registry/bases/base/components/example"
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
NavigationMenuTrigger,
navigationMenuTriggerStyle,
} from "@/registry/bases/base/ui/navigation-menu"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
const components: { title: string; href: string; description: string }[] = [
{
title: "Alert Dialog",
href: "/docs/primitives/alert-dialog",
description:
"A modal dialog that interrupts the user with important content and expects a response.",
},
{
title: "Hover Card",
href: "/docs/primitives/hover-card",
description:
"For sighted users to preview content available behind a link.",
},
{
title: "Progress",
href: "/docs/primitives/progress",
description:
"Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.",
},
{
title: "Scroll-area",
href: "/docs/primitives/scroll-area",
description: "Visually or semantically separates content.",
},
{
title: "Tabs",
href: "/docs/primitives/tabs",
description:
"A set of layered sections of content—known as tab panels—that are displayed one at a time.",
},
{
title: "Tooltip",
href: "/docs/primitives/tooltip",
description:
"A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.",
},
]
export default function NavigationMenuExample() {
return (
// ... (126 more lines)
Domain
Subdomains
Dependencies
- example
- icon-placeholder
- link
- navigation-menu
- react
Source
Frequently Asked Questions
What does navigation-menu-example.tsx do?
navigation-menu-example.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in navigation-menu-example.tsx?
navigation-menu-example.tsx defines 3 function(s): ListItem, NavigationMenuBasic, NavigationMenuExample.
What does navigation-menu-example.tsx depend on?
navigation-menu-example.tsx imports 5 module(s): example, icon-placeholder, link, navigation-menu, react.
Where is navigation-menu-example.tsx in the architecture?
navigation-menu-example.tsx is located at apps/v4/registry/bases/base/examples/navigation-menu-example.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free