Menubar API
Every prop of the 16 parts Menubar exports, generated from the package manifest.
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Menubar · MenubarCheckboxItem · MenubarContent · MenubarGroup · MenubarItem · MenubarLabel · MenubarMenu · MenubarPortal · MenubarRadioGroup · MenubarRadioItem · MenubarSeparator · MenubarShortcut · MenubarSub · MenubarSubContent · MenubarSubTrigger · MenubarTrigger
- Contract
- packages/brand-system/src/components/menubar.contract.test-d.ts
- Demos
- 5 on the Menubar page — rendered live, hydrated
- Source
- packages/brand-system/src/components/menubar.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Menubar is for, how it composes and what it looks like, see Menubar.
Menubar
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarCheckboxItem
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarContent
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarGroup
Re-exported from @radix-ui/react-menubar. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarItem
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & { inset?: boolean }
Prop
Type
Also inherited from @radix-ui/react-menubar — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarLabel
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & { inset?: boolean }
Prop
Type
Also inherited from @radix-ui/react-menubar — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarMenu
Re-exported from @radix-ui/react-menubar. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarPortal
Re-exported from @radix-ui/react-menubar. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarRadioGroup
Re-exported from @radix-ui/react-menubar. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarRadioItem
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarSeparator
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarShortcut
A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
MenubarSub
Re-exported from @radix-ui/react-menubar. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarSubContent
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarSubTrigger
React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & { inset?: boolean }
Prop
Type
Also inherited from @radix-ui/react-menubar — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.
Prop
Type
MenubarTrigger
Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type