DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Menubar
  3. Menubar Basic
MarkdownShare

Shadcn Menubar Basic

Basic menubar. Built with the Menubar component. A free, open source shadcn menubar example you can install with npx shadcn@latest add @reui/c-menubar-1 and edit as your own code.

Basic menubar.

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: File and Edit lists of plain text rows with key hints, dividers and a disabled New Incognito Window

When to use

  • Desktop style command bars of File, Edit and Account lists, with key hints and side flyouts
  • Formatting and insert lists for a document editor, such as Bold, Italic, Media and Link
  • View toggles and a single choice setting kept in the top bar, such as bookmarks or the theme

When not to use

  • Links to the pages of a website along its header, opening panels of page summaries: use the Navigation Menu component
  • Commands that open a second level list to the side, such as Share or Find: use the Menubar Submenus example
  • A single list of actions or account options opened from one button: use the Dropdown Menu component
  • Commands opened by right clicking a file, row or canvas, with no visible trigger: use the Context Menu component
  • A signed in product header holding the logo, search, alerts and the user avatar: use the Navbar blocks

Agent notes

  • Give each MenubarItem its command through onClick, which both twins fire; Base UI never fires the Radix onSelect event
  • MenubarShortcut is a plain span that prints the chord only; register the keys in your own keydown listener
  • MenubarLabel throws on the base twin unless it sits inside a MenubarGroup or MenubarRadioGroup
Markdownhttps://reui.io/components/menubar/c-menubar-1.md
MCPget_example("c-menubar-1")
Installnpx shadcn@latest add @reui/c-menubar-1
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Menubar Basic

  • Menubar

About Shadcn Menubar Basic

Basic menubar. Built with the Menubar component. A free, open source shadcn menubar example you can install with npx shadcn@latest add @reui/c-menubar-1 and edit as your own code.

What You Can Build With Shadcn Menubar Basic

  • Composes Menubar, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-menubar-1
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Menubar Examples

  • Submenus Menubar with dropdown submenus.
  • Checkbox & Radio Menubar with checkbox & radio items.
  • Icons Menubar with icons.
  • Formatting & Media Menubar for formatting and media.

Related Shadcn Component Categories

  • Message

    Open-source shadcn message components for chat transcripts, assistant replies, and support threads.

  • Message Scroller

    Open-source shadcn message scroller components for chat transcripts, streaming replies, and jump-to-latest scrolling.

  • Native Select

    Open-source shadcn native select components for lightweight selects, mobile-friendly forms, and basic option picking.

  • Navigation Menu

    Open-source shadcn navigation menu components for site navigation, mega menus, and product navigation.

  • Number Field

    Open-source shadcn number field components for quantity pickers, pricing inputs, and step controls.

  • Pagination

    Open-source shadcn pagination components for table pagination, search results, and content archives.

Frequently Asked Questions

When should I use Shadcn Menubar Basic?

Use it for file and Edit lists of plain text rows with key hints, dividers and a disabled New Incognito Window.

Shadcn Menubar as a whole fits:

  • Desktop style command bars of File, Edit and Account lists, with key hints and side flyouts
  • Formatting and insert lists for a document editor, such as Bold, Italic, Media and Link
  • View toggles and a single choice setting kept in the top bar, such as bookmarks or the theme

For links to the pages of a website along its header, opening panels of page summaries, use the Navigation Menu component. For commands that open a second level list to the side, such as Share or Find, use the Menubar Submenus example. For a single list of actions or account options opened from one button, use the Dropdown Menu component. For commands opened by right clicking a file, row or canvas, with no visible trigger, use the Context Menu component. For a signed in product header holding the logo, search, alerts and the user avatar, use the Navbar blocks.

How do I install Shadcn Menubar Basic?

Run npx shadcn@latest add @reui/c-menubar-1. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Menubar Basic free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Menubar Basic use?

It composes Menubar. The shadcn CLI installs those alongside the example.
NextSubmenus

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K