This component no longer exists. It was in Quantumblack Design System Registry’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-08 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Dropdown Menu
quantumblack-design-system-registry/dropdown-menuRemovedComponent
A contextual menu triggered by a button. Supports items, checkboxes, radio groups, submenus, shortcuts, and destructive actions.
Install it
npx shadcn@latest add http://designsystem.quantumblack.com/r/dropdown-menu.jsonSource
1'use client';23import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';4import * as React from 'react';56import { Icon } from '@/components/ui/icon';7import { IconShell } from '@/components/ui/icon-shell';8import { cn } from '@/lib/utils';910type DropdownMenuSize = 'default' | 'lg';1112const DropdownMenuSizeContext =13 React.createContext<DropdownMenuSize>('default');1415function useDropdownMenuSize() {16 return React.useContext(DropdownMenuSizeContext);17}1819function CheckboxItemMark() {20 return (21 <svg22 xmlns="http://www.w3.org/2000/svg"23 className="h-[7px] w-2"24 viewBox="0 0 8 7"25 fill="none">26 <path27 fillRule="evenodd"28 clipRule="evenodd"29 d="M7.5 1.25L6.25 0L2.5 3.75L1.25 2.5L0 3.75L2.5 6.25L7.5 1.25Z"30 fill="currentColor"31 />32 </svg>33 );34}3536function DropdownMenu({37 ...props38}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {39 return <DropdownMenuPrimitive.Root data-slot="dropdown-menu" {...props} />;40}4142function DropdownMenuPortal({43 ...props44}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {45 return (46 <DropdownMenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />47 );48}4950function DropdownMenuTrigger({51 ...props52}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {53 return (54 <DropdownMenuPrimitive.Trigger55 data-slot="dropdown-menu-trigger"56 {...props}57 />58 );59}6061interface DropdownMenuContentProps extends React.ComponentProps<62 typeof DropdownMenuPrimitive.Content63> {64 children?: React.ReactNode;65 onOpenAutoFocus?: (event: Event) => void;66 size?: DropdownMenuSize;67}6869function DropdownMenuContent({70 className,71 sideOffset = 4,72 size = 'default',73 ...props74}: DropdownMenuContentProps) {75 return (76 <DropdownMenuPrimitive.Portal>77 <DropdownMenuSizeContext.Provider value={size}>78 <DropdownMenuPrimitive.Content79 data-slot="dropdown-menu-content"80 data-size={size}81 sideOffset={sideOffset}82 className={cn(83// … truncated
What it pulls in
npm packages
Other registry items
