Home / File/ navigation-menu-demo.tsx — ui Source File

navigation-menu-demo.tsx — ui Source File

Architecture documentation for navigation-menu-demo.tsx, a tsx file in the ui codebase. 4 imports, 1 dependents.

File tsx DocumentationAtlas Changelog 4 imports 1 dependents 2 functions

Entity Profile

Dependency Diagram

graph LR
  dd1917c7_ae72_f39e_da51_c96daafdfe04["navigation-menu-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  dd1917c7_ae72_f39e_da51_c96daafdfe04 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  dd1917c7_ae72_f39e_da51_c96daafdfe04 --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  dd1917c7_ae72_f39e_da51_c96daafdfe04 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  661dda96_0e3f_9023_7403_2265c890b5e7["navigation-menu"]
  dd1917c7_ae72_f39e_da51_c96daafdfe04 --> 661dda96_0e3f_9023_7403_2265c890b5e7
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> dd1917c7_ae72_f39e_da51_c96daafdfe04
  style dd1917c7_ae72_f39e_da51_c96daafdfe04 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as React from "react"
import Link from "next/link"
import { CircleCheckIcon, CircleHelpIcon, CircleIcon } from "lucide-react"

import {
  NavigationMenu,
  NavigationMenuContent,
  NavigationMenuItem,
  NavigationMenuLink,
  NavigationMenuList,
  NavigationMenuTrigger,
  navigationMenuTriggerStyle,
} from "@/registry/new-york-v4/ui/navigation-menu"

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 function NavigationMenuDemo() {
  return (
    <div className="hidden w-full flex-col items-center justify-center gap-6 @xl:flex">
      <NavigationMenu>
        <NavigationMenuList>
          <NavigationMenuItem>
            <NavigationMenuTrigger>Getting started</NavigationMenuTrigger>
            <NavigationMenuContent>
// ... (168 more lines)

Subdomains

Dependencies

  • link
  • lucide-react
  • navigation-menu
  • react

Frequently Asked Questions

What does navigation-menu-demo.tsx do?
navigation-menu-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in navigation-menu-demo.tsx?
navigation-menu-demo.tsx defines 2 function(s): ListItem, NavigationMenuDemo.
What does navigation-menu-demo.tsx depend on?
navigation-menu-demo.tsx imports 4 module(s): link, lucide-react, navigation-menu, react.
What files import navigation-menu-demo.tsx?
navigation-menu-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is navigation-menu-demo.tsx in the architecture?
navigation-menu-demo.tsx is located at apps/v4/app/(internal)/sink/components/navigation-menu-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free