4.2.0
CoreMenubar

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.

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

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

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

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

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

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

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

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

A styled <span> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

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

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

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

Inherited from @radix-ui/react-menubar — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

On this page