mega-menu-builder

Build CMS-driven mega menus with accessible mobile drawer fallbacks.

14|3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill mega-menu-builder-tomtoto757
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mega-menu-builder
Source: https://github.com/tomtoto757/ecomm-ai-skills-hub/tree/main/skills/storefront-shopping-experience/finsilabs/storefront-ui/mega-menu-builder
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill mega-menu-builder-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large catalogs and promotional campaigns often require navigation that surfaces categories, featured products, and marketing banners in a single, discoverable interface; this Skill provides a repeatable pattern to replace fragile dropdowns with a CMS-driven, accessible mega menu and a robust mobile drawer fallback.

Core Features & Use Cases

  • CMS-driven panels: Drive category columns, featured product cards, and banners from the platform admin or a headless CMS so merchandisers can update content without deployments.
  • Cross-platform recipes: Implementation guidance for Shopify, WooCommerce, BigCommerce, and custom/headless sites with plugin or theme recommendations.
  • Accessibility-first: Keyboard navigation, ARIA attributes (aria-haspopup, aria-expanded, role=menubar/region/dialog), focus management, and a close-delay to prevent flicker.
  • Mobile drawer & performance: Touch-friendly hamburger drawer with accordion flattening, focus trap, body scroll lock, lazy-loaded images, and CSS rules that hide desktop panels at mobile breakpoints.

Quick Start

Implement a CMS-driven mega menu component that renders category columns, featured product cards, and a banner, ensures keyboard and screen reader accessibility, and provides a mobile hamburger drawer with focus trapping.

Frequently Asked Questions about mega-menu-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an accessible mega menu for a large storefront catalog?

An accessible mega menu uses CMS-driven panels to render category columns, featured products, and banners while applying ARIA roles, keyboard navigation, and focus trapping to meet storefront accessibility requirements.

Can I use a CMS-driven mega menu on Shopify, WooCommerce, or headless storefronts?

Yes, CMS-driven mega menu patterns apply across Shopify, WooCommerce, BigCommerce, and custom headless storefronts, allowing merchandisers to manage navigation content through admin interfaces without code deployments.

How do I add a mobile drawer fallback with focus trap and body scroll lock to mega navigation?

Mega navigation requires a touch-friendly hamburger drawer with accordion flattening, focus trapping, and body scroll lock, using responsive CSS rules to hide desktop panels at mobile breakpoints.

What ARIA attributes and keyboard interactions are needed for accessible mega navigation?

Accessible mega navigation requires ARIA attributes like aria-haspopup, aria-expanded, and role=menubar, alongside keyboard interaction support and a close-delay mechanism to prevent flicker during navigation.

How do I implement lazy-loaded images and Next.js ISR data fetching in a mega menu?

Mega menu performance optimization uses lazy-loaded images for featured product cards and promotional banners, combined with Next.js ISR-friendly data fetching to keep CMS navigation content updated efficiently.

What is the best way to let merchandisers manage mega menu content without deployments?

A CMS-driven mega menu lets merchandisers manage category columns, featured product cards, and promotional banners directly through platform admin interfaces, eliminating the need for code deployments to update navigation.