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 ee32cbd0_cc28_99db_bd77_2dc81b265b5f["menubar.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] ee32cbd0_cc28_99db_bd77_2dc81b265b5f --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] ee32cbd0_cc28_99db_bd77_2dc81b265b5f --> 9c463da6_747b_38dc_586b_cbb4873070b1 ef4051f4_aeb7_8d0c_a726_0ba96ad80cf6["utils"] ee32cbd0_cc28_99db_bd77_2dc81b265b5f --> ef4051f4_aeb7_8d0c_a726_0ba96ad80cf6 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] ee32cbd0_cc28_99db_bd77_2dc81b265b5f --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style ee32cbd0_cc28_99db_bd77_2dc81b265b5f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Menubar as MenubarPrimitive } from "radix-ui"
import { cn } from "@/registry/bases/radix/lib/utils"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
function Menubar({
className,
...props
}: React.ComponentProps<typeof MenubarPrimitive.Root>) {
return (
<MenubarPrimitive.Root
data-slot="menubar"
className={cn("cn-menubar flex items-center", className)}
{...props}
/>
)
}
function MenubarMenu({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {
return <MenubarPrimitive.Menu data-slot="menubar-menu" {...props} />
}
function MenubarGroup({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Group>) {
return <MenubarPrimitive.Group data-slot="menubar-group" {...props} />
}
function MenubarPortal({
...props
}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {
return <MenubarPrimitive.Portal data-slot="menubar-portal" {...props} />
}
function MenubarRadioGroup({
...props
}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {
return (
<MenubarPrimitive.RadioGroup data-slot="menubar-radio-group" {...props} />
)
}
function MenubarTrigger({
className,
...props
}: React.ComponentProps<typeof MenubarPrimitive.Trigger>) {
return (
<MenubarPrimitive.Trigger
data-slot="menubar-trigger"
className={cn(
"cn-menubar-trigger flex items-center outline-hidden select-none",
className
)}
{...props}
/>
// ... (235 more lines)
Domain
Subdomains
Functions
Dependencies
- icon-placeholder
- radix-ui
- react
- 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): icon-placeholder, radix-ui, react, utils.
Where is menubar.tsx in the architecture?
menubar.tsx is located at apps/v4/registry/bases/radix/ui/menubar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free