This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 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
ondo-ui/dropdown-menuRemovedComponent
Displays a menu to the user — such as a set of actions or functions — triggered by a button.
Install it
npx shadcn@latest add https://ui.ondo.dou.so/r/dropdown-menu.jsonSource
1"use client"23import * as React from "react"4import { Menu as MenuPrimitive } from "@base-ui/react/menu"56import { cn } from "@/lib/utils"7import { IconChevronRight, IconCheck } from "@tabler/icons-react"89function DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {10 return <MenuPrimitive.Root data-slot="dropdown-menu" {...props} />11}1213function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props) {14 return <MenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />15}1617function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props) {18 return <MenuPrimitive.Trigger data-slot="dropdown-menu-trigger" {...props} />19}2021function DropdownMenuContent({22 align = "start",23 alignOffset = 0,24 side = "bottom",25 sideOffset = 4,26 className,27 ...props28}: MenuPrimitive.Popup.Props &29 Pick<30 MenuPrimitive.Positioner.Props,31 "align" | "alignOffset" | "side" | "sideOffset"32 >) {33 return (34 <MenuPrimitive.Portal>35 <MenuPrimitive.Positioner36 className="isolate z-50 outline-none"37 align={align}38 alignOffset={alignOffset}39 side={side}40 sideOffset={sideOffset}41 >42 <MenuPrimitive.Popup43 data-slot="dropdown-menu-content"44 className={cn("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className )}45 {...props}46 />47 </MenuPrimitive.Positioner>48 </MenuPrimitive.Portal>49 )50}5152function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props) {53 return <MenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />54}5556function DropdownMenuLabel({57 className,58 inset,59 ...props60}: MenuPrimitive.GroupLabel.Props & {61 inset?: boolean62}) {63 return (64 <MenuPrimitive.GroupLabel65 data-slot="dropdown-menu-label"66 data-inset={inset}67 className={cn(68 "px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8",69 className70// … truncated
What it pulls in
npm packages
Other registry items
