Back to components
ComponentMenuFree

Burger Menu React component

A header whose round burger folds into a cross (or a back arrow) and drops a soft panel of numbered serif links, with a gliding highlight, a second level that slides in, keyboard arrows and a footer CTA.

About the Burger Menu component

Burger Menu is a compact site header: a logo and a round burger button. Pressing the button folds its three lines into a cross and drops a soft panel from the corner with numbered serif links, each with a short description, while a highlight glides between rows as you move over them.

Links with children open a second level: the panel slides over to show the sub-pages with a back button, and its height eases to fit. A footer note and a filled call-to-action pill sit under the list.

When to use it

Use it on studio, portfolio and small business sites, or anywhere the header should stay quiet, with up to a dozen links across two levels.

For one-level menus that should feel bigger and more theatrical, the Fullscreen Overlay Menu takes over the whole screen instead.

Installation

Add the Burger Menu component to your project with the shadcn CLI. It lands in components/burger-menu.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/burger-menu

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion lucide-react clsx tailwind-merge

Related components

Globe Menu
Free
Fullscreen Overlay Menu
Free
Pop-out Circle Menu
Free
Flowing Menu
Navbar 02
Free
Story Viewer