ContextMenuLabel() — ui Function Reference
Architecture documentation for the ContextMenuLabel() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 9d77d6fc_e12f_124d_d40f_41d604ba672b["ContextMenuLabel()"] 44ab6345_6294_6c88_5d38_b9e0242aaa34["context-menu.tsx"] 9d77d6fc_e12f_124d_d40f_41d604ba672b -->|defined in| 44ab6345_6294_6c88_5d38_b9e0242aaa34 style 9d77d6fc_e12f_124d_d40f_41d604ba672b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/context-menu.tsx lines 201–219
function ContextMenuLabel({
className,
inset,
...props
}: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
inset?: boolean
}) {
return (
<ContextMenuPrimitive.Label
data-slot="context-menu-label"
data-inset={inset}
className={cn(
"text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ContextMenuLabel() do?
ContextMenuLabel() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/context-menu.tsx.
Where is ContextMenuLabel() defined?
ContextMenuLabel() is defined in apps/v4/examples/radix/ui-rtl/context-menu.tsx at line 201.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free