This component no longer exists. It was in shadcn-zhcndoc’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-14 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.
menubar
shadcn-zhcndoc/menubarRemovedComponent
shadcn-zhcndoc publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by shadcn-zhcndoc on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://shadcn.zhcndoc.com/r/styles/new-york/menubar.jsonSource
1"use client"23import * as React from "react"4import * as MenubarPrimitive from "@radix-ui/react-menubar"5import { Check, ChevronRight, Circle } from "lucide-react"67import { cn } from "@/lib/utils"89function MenubarMenu({10 ...props11}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {12 return <MenubarPrimitive.Menu {...props} />13}1415function MenubarGroup({16 ...props17}: React.ComponentProps<typeof MenubarPrimitive.Group>) {18 return <MenubarPrimitive.Group {...props} />19}2021function MenubarPortal({22 ...props23}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {24 return <MenubarPrimitive.Portal {...props} />25}2627function MenubarRadioGroup({28 ...props29}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {30 return <MenubarPrimitive.RadioGroup {...props} />31}3233function MenubarSub({34 ...props35}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {36 return <MenubarPrimitive.Sub data-slot="menubar-sub" {...props} />37}3839const Menubar = React.forwardRef<40 React.ElementRef<typeof MenubarPrimitive.Root>,41 React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>42>(({ className, ...props }, ref) => (43 <MenubarPrimitive.Root44 ref={ref}45 className={cn(46 "flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",47 className48 )}49 {...props}50 />51))52Menubar.displayName = MenubarPrimitive.Root.displayName5354const MenubarTrigger = React.forwardRef<55 React.ElementRef<typeof MenubarPrimitive.Trigger>,56 React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>57>(({ className, ...props }, ref) => (58 <MenubarPrimitive.Trigger59 ref={ref}60 className={cn(61 "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",62 className63 )}64 {...props}65 />66))67MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName6869const MenubarSubTrigger = React.forwardRef<70 React.ElementRef<typeof MenubarPrimitive.SubTrigger>,71 React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {72 inset?: boolean73 }74>(({ className, inset, children, ...props }, ref) => (75 <MenubarPrimitive.SubTrigger76 ref={ref}77 className={cn(78// … truncated
What it pulls in
Other registry items
