MenubarFormat() — ui Function Reference
Architecture documentation for the MenubarFormat() function in menubar-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a1ce3342_901a_2199_cb80_939289cb2f2f["MenubarFormat()"] 2f385f3b_182c_b423_46e9_5c0eabdf26cc["menubar-example.tsx"] a1ce3342_901a_2199_cb80_939289cb2f2f -->|defined in| 2f385f3b_182c_b423_46e9_5c0eabdf26cc style a1ce3342_901a_2199_cb80_939289cb2f2f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/menubar-example.tsx lines 375–430
function MenubarFormat() {
return (
<Example title="Format">
<Menubar>
<MenubarMenu>
<MenubarTrigger>Format</MenubarTrigger>
<MenubarContent>
<MenubarItem>
<IconPlaceholder
lucide="BoldIcon"
tabler="IconBold"
hugeicons="TextBoldIcon"
phosphor="TextBIcon"
remixicon="RiBold"
/>
Bold <MenubarShortcut>⌘B</MenubarShortcut>
</MenubarItem>
<MenubarItem>
<IconPlaceholder
lucide="ItalicIcon"
tabler="IconItalic"
hugeicons="TextItalicIcon"
phosphor="TextItalicIcon"
remixicon="RiItalic"
/>
Italic <MenubarShortcut>⌘I</MenubarShortcut>
</MenubarItem>
<MenubarItem>
<IconPlaceholder
lucide="UnderlineIcon"
tabler="IconUnderline"
hugeicons="TextUnderlineIcon"
phosphor="TextUnderlineIcon"
remixicon="RiUnderline"
/>
Underline <MenubarShortcut>⌘U</MenubarShortcut>
</MenubarItem>
<MenubarSeparator />
<MenubarCheckboxItem checked>Strikethrough</MenubarCheckboxItem>
<MenubarCheckboxItem>Code</MenubarCheckboxItem>
</MenubarContent>
</MenubarMenu>
<MenubarMenu>
<MenubarTrigger>View</MenubarTrigger>
<MenubarContent>
<MenubarCheckboxItem>Show Ruler</MenubarCheckboxItem>
<MenubarCheckboxItem checked>Show Grid</MenubarCheckboxItem>
<MenubarSeparator />
<MenubarItem inset>Zoom In</MenubarItem>
<MenubarItem inset>Zoom Out</MenubarItem>
</MenubarContent>
</MenubarMenu>
</Menubar>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does MenubarFormat() do?
MenubarFormat() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/menubar-example.tsx.
Where is MenubarFormat() defined?
MenubarFormat() is defined in apps/v4/registry/bases/base/examples/menubar-example.tsx at line 375.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free