Socket
Book a DemoInstallSign in
Socket

@pbkware/astro-main-menu

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pbkware/astro-main-menu

Responsive Main Menu and Hamburger components for Astro

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

Astro Main Menu

NPM version License

Responsive Main Menu and Hamburger components for Astro

Install

npm install @pbkware/astro-main-menu

Features

  • 2 levels of menu items.
  • Wide and narrow to support desktop and mobile.
  • Configurable breakpoint to switch between wide and narrow.
  • Menus specified by array of menu items passed as an attribute to MainMenu component.
  • Easy formatting of menu CSS with settings object passed as an attribute to MainMenu and Hamburger components.
  • Flexible formatting of menu CSS with access to scoped classes within menu HTML.
  • Menu Item can also run JavaScript or TypeScript code (instead of navigating).
  • Separate MainMenu and Hamburger components to provide flexibility in setting up navigation UI.
  • Supports deactivating main menu when document is clicked outside of menu.
  • Supports Astro View Transitions.

Demo and More information

https://pbkware.klink.au/astro-main-menu/

Sponsored by

Xilytix

Keywords

astro-component

FAQs

Package last updated on 19 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts