قائمة الهامبرغر Hamburger Menu (Navigation Drawer)
زر الخطوط الثلاثة الذي يفتح لوحة التنقّل من جانب الشاشة.
يُعرف أيضاً باسم: Navigation Drawer
aria-expanded + aria-controlsمتى تستخدمه
عندما يكون لديك أقسام أكثر مما تتسع له الشاشة.
خطأ شائع
إذا كان لديك من ٣ إلى ٥ أقسام فقط، فالشريط السفلي أوضح وأسرع.
إمكانية الوصول
Toggle aria-expanded and move focus to the first link when it opens.
اسمه في الكود
| HTML/CSS | aria-expanded + aria-controls |
|---|---|
| React | <Sheet side="left"> |
| Jetpack Compose | ModalNavigationDrawer |
| SwiftUI | NavigationSplitView |
برومبت جاهز لوكيل البرمجة
Add a Hamburger Menu (Navigation Drawer) to this screen.
What it is: The three-line button and the side navigation panel it slides open.
Implement with: aria-expanded + aria-controls (HTML/CSS).
Accessibility: Toggle aria-expanded and move focus to the first link when it opens.
When to use it: When there are more sections than the screen can show.
Avoid: With only three to five sections, a bottom bar is clearer and faster.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.