shadcn.io is not affiliated with official shadcn/ui
Menubar examples · Standard
Menubar with Sections for React
An Edit menu in two labeled sections, Actions with Cut, Copy and Paste, and History with Undo and Redo.
Framework
UI library
Clipboard and history commands blur together in one long list. This menubar's Edit menu splits them into two labeled sections, Actions (Cut, Copy, Paste) and History (Undo, Redo), with a separator between them. It fits editors with full Edit menus.
Preview
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
FAQ
How are Actions and History split?
Each section is a MenubarGroup that starts with its MenubarLabel, with a MenubarSeparator between the two groups.
Is the section label a command?
No. A MenubarLabel names its group; nothing happens when you click it.
What does the separator separate?
The Actions group from the History group: Paste above the line, the History label below it.
Related
- Simple Text MenubarA menubar with one File menu of plain
- Application MenubarAn application menubar with File, Edit
- Menubar with CheckboxesA View menu of checkbox rows that show or
- Menubar with Radio GroupsA View menu with a Layout choice where
- Dropdown with Groups and Labels Dropdown MenuA menu split into labeled My Account and
- Compact MenubarA menubar with a single Options menu