Ecme logoEcme logo
Dashboard
    Ecommerce
    Project
    Marketing
    Analytic
Network
    BGP
      Peer
      RTBH
Netflow
    Dashboard
    Flow Analysis
      Top Talkers
      Flow Explorer
      IP Analyzer
    Threats
      Active Attacks
      Mitigation
    System
      Diagnostics
DPI
    Overview
    Traffic Logs
    Analysis
      IP Analysis
      Domain Check
      Unmapped ASNs
      Uncategorized Domains
    Threats
      Blacklists Data
      Blocklist Sources
      Threat Feeds
    Configuration
      Senders
      Ignored Domains
      Webhooks & Alerts
      System Maintenance
    Datasets
      IP Dataset
      Domain Dataset
Concepts
    AI
      Chat
      Image
    Projects
      Scrum Board
      List
      Details
      Tasks
      Issue
    Customer
      List
      Edit
      Create
      Details
    Products
      List
      Edit
      Create
    Orders
      List
      Edit
      Create
      Details
    Account
      Settings
      Activity log
      Roles & Permissions
      Pricing
    Help Center
      Support Hub
      Article
      Edit Article
      Manage Article
    Calendar
    File Manager
    Mail
    Chat
UI Components
    Common
      Button
      Grid
      Typography
      Icons
    Feedback
      Alert
      Dialog
      Drawer
      Progress
      Skeleton
      Spinner
      Toast
    Data Display
      Avatar
      Badge
      Calendar
      Cards
      Carousel
      Table
      Tag
      Timeline
      Tooltip
    Forms
      Checkbox
      Date Picker
      Form Control
      Input
      Input Group
      Radio
      Segment
      Select
      Slider
      Switcher
      Time Input
      Upload
    Navigation
      Dropdown
      Menu
      Pagination
      Steps
      Tabs
    Graph
      Charts
      Maps
Authentication
    Sign In
      Simple
      Side
      Split
    Sign Up
      Simple
      Side
      Split
    Forgot Password
      Simple
      Side
      Split
    Reset Password
      Simple
      Side
      Split
    Otp Verification
      Simple
      Side
      Split
Others
    Access Denied
    Landing
Guide
    Documentation
    Shared Component
    Utilities
    Changelog
Copyright © 2026 Ecme All rights reserved.
Term & Conditions | Privacy & Policy

Menu

Menus allow users to select a single item from a group of available options.

Simple

A simple example of menu.
Settings
Message
Gallery

Collapsable menu item

Menus can contain nested levels as collapsable menu items.
Item 1
Item 2
Item 3
    Item 3.1
    Item 3.2
Item 4
    Item 4.1
    Item 4.2
    Item 4.3
      Item 4.3.1
      Item 4.3.2

Menu group

Menus can also categorization menu items into different groups.
Group 1
    Item 1
    Item 2
    Item 3
      Item 3.1
      Item 3.2
Group 2
    Item 1
    Item 2

With icon

Example with icons in menu items.
Settings
Messages
Network
    Wifi
    Support

Disabled menu item

Menu items can be disabled to prevent a user from interacting with them.
Settings
Message
Gallery

Default active

We can set the menu items within to active by entering corresponded eventKey to defaultActiveKeys
Item 1
Item 2
Item 3
    Item 3.1
    Item 3.2

Default expand

We can expand the collapsable menu items within by entering corresponded eventKey to defaultExpandedKeys
Item 1
Item 2
Item 3
    Item 3.1
    Item 3.2
Item 4
    Item 4.1
    Item 4.2

API

Menu
PropDescriptionTypeDefault
defaultActiveKeysInitial set menu item as active based on inserted keys which corresponding to eventkeystring[][]
defaultCollapseActiveKeysInitial collapsable menu item active based on inserted keys which corresponding to eventkeystring[][]
defaultExpandedKeysInitial expand collapsable menu item based on inserted keys which corresponding to eventkeystring[][]
menuItemHeightHeight of all menu itemstring | number40
onSelectCallback when menu item clicked(e: MouseEvent, eventKey: string) => void-
sideCollapsedWhether to side collapse the menubooleanfalse
variantThe variants of the menu.'light' | 'dark' | 'themed' | 'transparent''light'
Menu.MenuCollapse
PropDescriptionTypeDefault
activeWhether to highlight the collapsable menu itembooleantrue
eventKeyAn unique value for the collapsable menu itemstring-
expandedWhether to expand current collpased menu itembooleanfalse
indentWhether to indent child menu itembooleantrue
labelContent of the collpased menu itemstring | ReactNode-
onToggleCallback when collpased menu item toggled(expanded: boolean, e: MouseEvent) => void-
Menu.MenuGroup
PropDescriptionTypeDefault
labelContent of the collpased menu group titlestring | ReactNode-
Menu.MenuItem
PropDescriptionTypeDefault
asElementRender elementstring'div'
disabledWhether to disable menu itemboolean-
dotIndentWhether show dot as prefix in menu itemboolean-
eventKeyAn unique value for the menu itemboolean-
isActiveWhether to active menu itemboolean-
menuItemHeightHeight of menu itemstring | number40
onSelectCallback menu item clicked(eventKey: string, e: MouseEvent) => void40
TABLE OF CONTENT
  • Simple
  • Collapsable menu item
  • Menu group
  • With icon
  • Disabled menu item
  • Default active
  • Default expand