Last updated
Last updated
All available props for the MegaMenu2 component are defined and handled within Component usage path file. This allows for easy modifications to the content of the megamenu section.
Component path: src/blocks/mega-menu/MegaMenu2.tsx
Component usage path: src/app/blocks/megamenu/megamenu2/page.tsx
Preview link:
menuItems
MenuItemsProps[]
Array of menu item objects, each with icon
, title
, content
, and optional selected
.
Displays a flexible grid of menu items, where each item appears as a clickable button.
The MegaMenu2 component renders a list of menu items with optional icons and text, styled with Material UI components to be responsive and interactive, including visual feedback for selected items.