هل تعلم؟dyk.si

القائمة الضخمة Mega Menu

قائمة عريضة تنسدل من رأس الصفحة وتضم عدة أعمدة من الروابط، كما في مواقع المتاجر الكبيرة.

<nav> + disclosure buttons

متى تستخدمه

للمواقع التي تحوي أقساماً وفروعاً كثيرة.

خطأ شائع

لا تفتحها بالـ hover وحده؛ فهي تظهر خطأً.

إمكانية الوصول

Open on click or Enter, not hover alone, and close on Esc.

اسمه في الكود

HTML/CSS<nav> + disclosure buttons
React<NavigationMenu>
Jetpack Composen/a (web pattern)
SwiftUIn/a (web pattern)

برومبت جاهز لوكيل البرمجة

Add a Mega Menu to this screen. What it is: A wide panel dropping from the header with several columns of links, as on big store sites. Implement with: <nav> + disclosure buttons (HTML/CSS). Accessibility: Open on click or Enter, not hover alone, and close on Esc. When to use it: For sites with many sections and subsections. Avoid: Don’t open it on hover alone; it triggers by accident. Reuse the project's existing design tokens, spacing and component conventions.

أو ركّب صفحة كاملة من هذا العنصر وغيره →

البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.