4.2.0
CoreDropdown menu

DropdownMenu API

Every prop of the 15 parts DropdownMenu exports, generated from the package manifest.

import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
DropdownMenu · DropdownMenuCheckboxItem · DropdownMenuContent · DropdownMenuGroup · DropdownMenuItem · DropdownMenuLabel · DropdownMenuPortal · DropdownMenuRadioGroup · DropdownMenuRadioItem · DropdownMenuSeparator · DropdownMenuShortcut · DropdownMenuSub · DropdownMenuSubContent · DropdownMenuSubTrigger · DropdownMenuTrigger
Contract
packages/brand-system/src/components/dropdown-menu.contract.test-d.ts
Demos
7 on the DropdownMenu page — rendered live, hydrated
Source
packages/brand-system/src/components/dropdown-menu.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what DropdownMenu is for, how it composes and what it looks like, see DropdownMenu.

Re-exported from @radix-ui/react-dropdown-menu. 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-dropdown-menu — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

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

Prop

Type

Re-exported from @radix-ui/react-dropdown-menu. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & { inset?: boolean }

Prop

Type

Also inherited from @radix-ui/react-dropdown-menu — forwarded, not declared here, and accepted alongside the props above. DOM attributes are accepted too and omitted here.

Prop

Type

React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & { inset?: boolean }

Prop

Type

Also inherited from @radix-ui/react-dropdown-menu — 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-dropdown-menu. 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-dropdown-menu. 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-dropdown-menu — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

Inherited from @radix-ui/react-dropdown-menu — 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-dropdown-menu. 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-dropdown-menu — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & { inset?: boolean }

Prop

Type

Also inherited from @radix-ui/react-dropdown-menu — 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-dropdown-menu. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.

Prop

Type

On this page