menubar.tsx — ui Source File
Architecture documentation for menubar.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 769c27c3_150d_3cba_5c02_2c2df4aa4264["menubar.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 769c27c3_150d_3cba_5c02_2c2df4aa4264 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 4a4eaea5_7041_f709_7c58_914e6a67db87["react-menubar"] 769c27c3_150d_3cba_5c02_2c2df4aa4264 --> 4a4eaea5_7041_f709_7c58_914e6a67db87 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 769c27c3_150d_3cba_5c02_2c2df4aa4264 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 769c27c3_150d_3cba_5c02_2c2df4aa4264 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 style 769c27c3_150d_3cba_5c02_2c2df4aa4264 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import * as MenubarPrimitive from "@radix-ui/react-menubar"
import { Check, ChevronRight, Circle } from "lucide-react"
import { cn } from "@/lib/utils"
function MenubarMenu({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {
return <MenubarPrimitive.Menu {...props} />
}
function MenubarGroup({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Group>) {
return <MenubarPrimitive.Group {...props} />
}
function MenubarPortal({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {
return <MenubarPrimitive.Portal {...props} />
}
function MenubarRadioGroup({
...props
}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {
return <MenubarPrimitive.RadioGroup {...props} />
}
function MenubarSub({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {
return <MenubarPrimitive.Sub data-slot="menubar-sub" {...props} />
}
const Menubar = React.forwardRef<
React.ElementRef<typeof MenubarPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>
>(({ className, ...props }, ref) => (
<MenubarPrimitive.Root
ref={ref}
className={cn(
"flex h-10 items-center space-x-1 rounded-md border bg-background p-1",
className
)}
{...props}
/>
))
Menubar.displayName = MenubarPrimitive.Root.displayName
const MenubarTrigger = React.forwardRef<
React.ElementRef<typeof MenubarPrimitive.Trigger>,
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>
>(({ className, ...props }, ref) => (
<MenubarPrimitive.Trigger
ref={ref}
className={cn(
// ... (197 more lines)
Domain
Subdomains
Functions
Dependencies
- lucide-react
- react
- react-menubar
- utils
Source
Frequently Asked Questions
What does menubar.tsx do?
menubar.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in menubar.tsx?
menubar.tsx defines 16 function(s): Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, and 6 more.
What does menubar.tsx depend on?
menubar.tsx imports 4 module(s): lucide-react, react, react-menubar, utils.
Where is menubar.tsx in the architecture?
menubar.tsx is located at deprecated/www/registry/default/ui/menubar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free