الشريط الجانبي Sidebar (Side Navigation)
عمود ثابت على جانب الصفحة يضم أقسام التطبيق، ويبقى ظاهراً دائماً على الشاشات الكبيرة.
يُعرف أيضاً باسم: Side Navigation
<nav> + <aside>متى تستخدمه
للوحات التحكم والتطبيقات الكبيرة ذات الأقسام الكثيرة.
خطأ شائع
على الهاتف حوّله إلى Drawer أو شريط سفلي.
إمكانية الوصول
Mark the current section with aria-current and let it collapse on small screens.
اسمه في الكود
| HTML/CSS | <nav> + <aside> |
|---|---|
| React | <Sidebar> |
| Jetpack Compose | PermanentNavigationDrawer |
| SwiftUI | NavigationSplitView sidebar |
برومبت جاهز لوكيل البرمجة
Add a Sidebar (Side Navigation) to this screen.
What it is: A persistent column along one side listing the app’s sections, always visible on large screens.
Implement with: <nav> + <aside> (HTML/CSS).
Accessibility: Mark the current section with aria-current and let it collapse on small screens.
When to use it: For dashboards and large apps with many sections.
Avoid: On mobile, turn it into a drawer or bottom bar.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.