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

navigation-menu-rtl.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 4 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  352392d4_d2a3_5920_7a0d_e1902ca9f85c["navigation-menu-rtl.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  352392d4_d2a3_5920_7a0d_e1902ca9f85c --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  352392d4_d2a3_5920_7a0d_e1902ca9f85c --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  2bd06556_5bf6_26d7_3909_e2f563be51a1["navigation-menu"]
  352392d4_d2a3_5920_7a0d_e1902ca9f85c --> 2bd06556_5bf6_26d7_3909_e2f563be51a1
  2c1404ab_bf28_6225_f9a0_b9e29400c66c["language-selector"]
  352392d4_d2a3_5920_7a0d_e1902ca9f85c --> 2c1404ab_bf28_6225_f9a0_b9e29400c66c
  style 352392d4_d2a3_5920_7a0d_e1902ca9f85c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import Link from "next/link"
import {
  NavigationMenu,
  NavigationMenuContent,
  NavigationMenuItem,
  NavigationMenuLink,
  NavigationMenuList,
  NavigationMenuTrigger,
  navigationMenuTriggerStyle,
} from "@/examples/radix/ui-rtl/navigation-menu"

import {
  useTranslation,
  type Translations,
} from "@/components/language-selector"

const translations: Translations = {
  en: {
    dir: "ltr",
    values: {
      gettingStarted: "Getting started",
      introduction: "Introduction",
      introductionDesc: "Re-usable components built with Tailwind CSS.",
      installation: "Installation",
      installationDesc: "How to install dependencies and structure your app.",
      typography: "Typography",
      typographyDesc: "Styles for headings, paragraphs, lists...etc",
      components: "Components",
      alertDialog: "Alert Dialog",
      alertDialogDesc:
        "A modal dialog that interrupts the user with important content and expects a response.",
      hoverCard: "Hover Card",
      hoverCardDesc:
        "For sighted users to preview content available behind a link.",
      progress: "Progress",
      progressDesc:
        "Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.",
      scrollArea: "Scroll-area",
      scrollAreaDesc: "Visually or semantically separates content.",
      tabs: "Tabs",
      tabsDesc:
        "A set of layered sections of content—known as tab panels—that are displayed one at a time.",
      tooltip: "Tooltip",
      tooltipDesc:
        "A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.",
      withIcon: "With Icon",
      backlog: "Backlog",
      toDo: "To Do",
      done: "Done",
      docs: "Docs",
    },
  },
  ar: {
    dir: "rtl",
    values: {
      gettingStarted: "البدء",
      introduction: "مقدمة",
// ... (176 more lines)

Subdomains

Dependencies

  • language-selector
  • link
  • navigation-menu
  • react

Frequently Asked Questions

What does navigation-menu-rtl.tsx do?
navigation-menu-rtl.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in navigation-menu-rtl.tsx?
navigation-menu-rtl.tsx defines 2 function(s): ListItem, NavigationMenuRtl.
What does navigation-menu-rtl.tsx depend on?
navigation-menu-rtl.tsx imports 4 module(s): language-selector, link, navigation-menu, react.
Where is navigation-menu-rtl.tsx in the architecture?
navigation-menu-rtl.tsx is located at apps/v4/examples/radix/navigation-menu-rtl.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free