Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Side Navbar

Side Navbar

A hamburger-triggered side navigation panel with primary links, contact details, and social routes for compact brand and portfolio navigation.

GSAP
DemoDemoDemo

Tune the Real Props

Link Color

Color of the menu links, socials and divider.

Panel Background Color

Background color of the sliding menu panel (opacity is set separately).

Overview

Side Navbar opens a full-height navigation panel from a compact hamburger trigger.

It is built for websites where the navigation should feel deliberate without occupying the header all the time. The menu opens as a side panel, reveals primary links, keeps supporting information close, and gives the visitor a clear route back through a visible close control.

Use Side Navbar for portfolios, agency websites, campaign pages, product microsites, and editorial experiences where the navigation can behave like a designed moment. The page job is orientation: visitors should know what opened, where the important routes are, and how to close it without guessing.

The production risk is treating the menu like decoration. A side navbar is still navigation. Links need to be real links, the close control needs to be obvious, focus must move into the panel, Escape should close it, and focus should return to the hamburger trigger after closing.


Usage Code

page
1import SideNavbar from '@/components/effects/side-navbar'2 3const page = () => {4  return (5    <>6    <div className='w-screen h-screen bg-white'>7    <SideNavbar/>8    </div>9    </>10  )11}12 13export default page

Example Production Use Case

An agency portfolio can use Side Navbar to keep the hero visually clean while still giving visitors direct access to Work, Services, Pricing, Docs, and Contact. The hamburger opens a full-height panel with primary routes, contact details, and social links. The outcome is clarity: navigation feels designed without hiding where the visitor can go next.


Best Used For

  • Portfolio, agency, and campaign sites where the header should stay minimal.
  • Compact navigation systems that need primary links, contact details, and social links in one panel.
  • Brand-led sites where opening navigation can be a polished interaction without slowing route access.

Not For

Not for complex apps, dashboards, dense product navigation, large documentation sites, or menus with many nested levels.

Not for sites where all primary actions need to remain visible at all times.


Performance Budget

Animate transform and opacity rather than layout, avoid re-rendering the whole page when the menu opens, lock background scroll cleanly, and remove listeners after close or route change.


Accessibility and Mobile

Use a real button for the hamburger trigger with an accessible label. Move focus into the menu when it opens, trap focus while open if the panel behaves modally, support Escape close, and restore focus to the trigger when it closes. On mobile, keep tap targets large and make the close control easy to reach.


Common Mistakes

  • Building the hamburger trigger with a generic div instead of a real button.
  • Opening a menu without moving keyboard focus into it.
  • Forgetting Escape close and focus restoration.
  • Letting the side panel cover content while background scroll remains active.
  • Hiding important navigation links behind hover-only states.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
panelWidthnumber50Width of the sliding menu panel as a percentage of the viewport on desktop.
openDurationnumber0.5Duration of the sidebar opening and closing slide.
linksStaggernumber0.05Stagger between the main navigation links as they animate in.
socialsStaggernumber0.05Stagger between the social links as they animate in.
linkColorstring#ffffffColor of the menu links, socials and divider.
panelBackgroundColorstring#000000Background color of the sliding menu panel (opacity is set separately).
panelOpacitynumber0.2Opacity of the panel background color.
panelBlurstringmdBackdrop blur strength behind the panel.

Questions, Answered.

When should I use Side Navbar?

Use Side Navbar when a site needs compact header navigation that opens into a clear full-height menu panel.

Should Side Navbar trap focus?

If the side panel behaves like an overlay and blocks interaction with the page behind it, yes. Focus should remain inside the menu until the visitor closes it.

What should happen when a menu link is clicked?

The menu should close on navigation, route focus should move to the destination content, and background scroll should be restored.

How should Side Navbar work on mobile?

Keep the trigger and close button tap-safe, make links large enough to press comfortably, and avoid tiny social links near screen edges.

What should reduced motion do for Side Navbar?

Use an instant open/close state or a short fade. Remove long slides, staggered link entrances, and background movement.

Can Hyperiux adapt Side Navbar for a real brand system?

Yes. A custom version should define menu structure, animation direction, active states, focus behavior, scroll lock, mobile layout, reduced-motion fallback, source handoff, and implementation notes.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Immersive Full-Screen Navigation
GSAP

Immersive Full-Screen Navigation

Navigation

Expanding Navbar
Pro
GSAPLucide-react

Expanding Navbar

Navigation

Elevate Navbar
GSAPLucide-react

Elevate Navbar

Navigation