This component no longer exists. It was in gmhlab’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.
menubar
gmhlab/menubarRemovedComponent
gmhlab publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/gmhlab/monorepo/main/packages/ui/public/r/menubar.jsonSource
1"use client"23import * as React from "react"4import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"5import { Menubar as MenubarPrimitive } from "radix-ui"67import { cn } from "@/lib/utils"89function Menubar({10 className,11 ...props12}: React.ComponentProps<typeof MenubarPrimitive.Root>) {13 return (14 <MenubarPrimitive.Root15 data-slot="menubar"16 className={cn(17 "bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",18 className19 )}20 {...props}21 />22 )23}2425function MenubarMenu({26 ...props27}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {28 return <MenubarPrimitive.Menu data-slot="menubar-menu" {...props} />29}3031function MenubarGroup({32 ...props33}: React.ComponentProps<typeof MenubarPrimitive.Group>) {34 return <MenubarPrimitive.Group data-slot="menubar-group" {...props} />35}3637function MenubarPortal({38 ...props39}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {40 return <MenubarPrimitive.Portal data-slot="menubar-portal" {...props} />41}4243function MenubarRadioGroup({44 ...props45}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {46 return (47 <MenubarPrimitive.RadioGroup data-slot="menubar-radio-group" {...props} />48 )49}5051function MenubarTrigger({52 className,53 ...props54}: React.ComponentProps<typeof MenubarPrimitive.Trigger>) {55 return (56 <MenubarPrimitive.Trigger57 data-slot="menubar-trigger"58 className={cn(59 "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",60 className61 )}62 {...props}63 />64 )65}6667function MenubarContent({68 className,69 align = "start",70 alignOffset = -4,71 sideOffset = 8,72 ...props73}: React.ComponentProps<typeof MenubarPrimitive.Content>) {74 return (75 <MenubarPortal>76 <MenubarPrimitive.Content77 data-slot="menubar-content"78 align={align}79 alignOffset={alignOffset}80 sideOffset={sideOffset}81 className={cn(82// … truncated
What it pulls in
npm packages
