Home / File/ nav-actions.tsx — ui Source File

nav-actions.tsx — ui Source File

Architecture documentation for nav-actions.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 5 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  3b61ba82_955b_970e_00e6_534c8aab0098["nav-actions.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  3b61ba82_955b_970e_00e6_534c8aab0098 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  7328fa0a_98b6_fe77_42fd_0d1582b24604["button"]
  3b61ba82_955b_970e_00e6_534c8aab0098 --> 7328fa0a_98b6_fe77_42fd_0d1582b24604
  be464fc7_420f_996e_18a3_0f0f01945197["popover"]
  3b61ba82_955b_970e_00e6_534c8aab0098 --> be464fc7_420f_996e_18a3_0f0f01945197
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  3b61ba82_955b_970e_00e6_534c8aab0098 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"]
  3b61ba82_955b_970e_00e6_534c8aab0098 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2
  style 3b61ba82_955b_970e_00e6_534c8aab0098 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"

import { Button } from "@/registry/bases/base/ui/button"
import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/registry/bases/base/ui/popover"
import {
  Sidebar,
  SidebarContent,
  SidebarGroup,
  SidebarGroupContent,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
} from "@/registry/bases/base/ui/sidebar"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

const data = [
  [
    {
      label: "Customize Page",
      icon: (
        <IconPlaceholder
          lucide="Settings2Icon"
          tabler="IconSettings"
          hugeicons="Settings05Icon"
          phosphor="GearIcon"
          remixicon="RiSettingsLine"
        />
      ),
    },
    {
      label: "Turn into wiki",
      icon: (
        <IconPlaceholder
          lucide="FileTextIcon"
          tabler="IconFileText"
          hugeicons="File01Icon"
          phosphor="FileTextIcon"
          remixicon="RiFileTextLine"
        />
      ),
    },
  ],
  [
    {
      label: "Copy Link",
      icon: (
        <IconPlaceholder
          lucide="LinkIcon"
          tabler="IconLink"
          hugeicons="LinkIcon"
          phosphor="LinkIcon"
          remixicon="RiLinksLine"
        />
      ),
// ... (193 more lines)

Subdomains

Functions

Dependencies

  • button
  • icon-placeholder
  • popover
  • react
  • sidebar

Frequently Asked Questions

What does nav-actions.tsx do?
nav-actions.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 nav-actions.tsx?
nav-actions.tsx defines 1 function(s): NavActions.
What does nav-actions.tsx depend on?
nav-actions.tsx imports 5 module(s): button, icon-placeholder, popover, react, sidebar.
Where is nav-actions.tsx in the architecture?
nav-actions.tsx is located at apps/v4/registry/bases/base/blocks/sidebar-10/components/nav-actions.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/blocks/sidebar-10/components).

Analyze Your Own Codebase

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

Try Supermodel Free