# Menubar Standard 9 - With sections

> Menubar with Sections.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/menubar-menubar-standard-9).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/menubar-menubar-standard-9
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/menubar-menubar-standard-9-light-60ed2093de7b4d7d.png
- Registry item: https://shadcnblocks.com/r/menubar-menubar-standard-9.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/menubar-menubar-standard-9.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `menubar`

## Files

### `example/menubar/menubar-standard-9.tsx`

```tsx
import {
  Menubar,
  MenubarContent,
  MenubarItem,
  MenubarLabel,
  MenubarMenu,
  MenubarSeparator,
  MenubarTrigger,
} from "@/components/ui/menubar";

export const title = "Menubar with Sections";

const Example = () => (
  <Menubar>
    <MenubarMenu>
      <MenubarTrigger>Edit</MenubarTrigger>
      <MenubarContent>
        <MenubarLabel>Actions</MenubarLabel>
        <MenubarItem>Cut</MenubarItem>
        <MenubarItem>Copy</MenubarItem>
        <MenubarItem>Paste</MenubarItem>
        <MenubarSeparator />
        <MenubarLabel>History</MenubarLabel>
        <MenubarItem>Undo</MenubarItem>
        <MenubarItem>Redo</MenubarItem>
      </MenubarContent>
    </MenubarMenu>
  </Menubar>
);

export default Example;
```
