Hamburger
Design System - Hamburger component
The Hamburger component serves as a collapsible vertical navigation panel, enabling users to switch between modules, configure language and city preferences, and access universal actions. This component provides a consistent and intuitive experience across services.

// Sample code
<CheckBox
label="Label"
onChange={(e)=>{console.log(e.target.checked}}
/>
Anatomy

Variants

Light Mode
The default Text Block displays a structured combination of a caption, heading, subheading, and description. Each section can be individually toggled on or off based on the context or content requirement.

Dark Mode Intended for darker UIs, this version enhances visual contrast and reduces strain during prolonged usage or low-light environments.
Properties
Profile Displays user-specific details such as name and mobile number, along with an optional avatar or icon, reinforcing personalisation.

Enable Search Allows users to search through nested navigation items, improving usability for platforms with many modules or submodules.

Property Configuration Table
Each design component offers a range of configurable options. These options are intentionally platform-agnostic, allowing implementations to adapt and tailor them to align with the specific requirements of the chosen framework.
items
text
-
profileName
text
-
profileNumber
yes/no
no
theme
yes/no
no
className
yes/no
-
styles
yes/no
-
hideUserManuals
yes/no
no
useManualLabel
yes/no
no
profile
yes/no
no
usermanuals
number
no
onSelect
yes/no
no
onLogout
yes/no
no
reopenOnLogout
yes/no
no
closeOnClickOutside
yes/no
no
onOutsideClick
yes/no
no
onLabelClick
yes/no
no
Usage Guide

Action Accessibility
Keep important global actions like "Logout" and "User Manual" fixed and accessible at the bottom. Don’t hide logout or profile info under collapsible menus; users expect to see these instantly upon opening the drawer.

Change log
Design Checklist
All interactive states
Accessible use of colours
Accessible contrast for text
Accessible contrast for UI components
Keyboard interactions
Last updated
Was this helpful?