شريط التنقّل السفلي Bottom Navigation (Tab Bar)
صف من ٣ إلى ٥ أيقونات مثبّت أسفل التطبيق، ينقلك بين أقسامه الرئيسية.
يُعرف أيضاً باسم: Tab Bar
<nav> + position: fixedمتى تستخدمه
للأقسام الرئيسية في تطبيق للهاتف.
خطأ شائع
لا تضع فيه إجراءات مثل «إضافة»، بل وجهات تنتقل إليها فقط.
إمكانية الوصول
Show text labels with the icons and mark the current item with aria-current="page".
اسمه في الكود
| HTML/CSS | <nav> + position: fixed |
|---|---|
| React | BottomNavigation — MUI |
| Jetpack Compose | NavigationBar + NavigationBarItem |
| SwiftUI | TabView |
برومبت جاهز لوكيل البرمجة
Add a Bottom Navigation (Tab Bar) to this screen.
What it is: A row of three to five icons pinned to the bottom of an app that switches its main sections.
Implement with: <nav> + position: fixed (HTML/CSS).
Accessibility: Show text labels with the icons and mark the current item with aria-current="page".
When to use it: For the top-level sections of a mobile app.
Avoid: Don’t put actions like "Add" in it, only destinations.
Reuse the project's existing design tokens, spacing and component conventions.
أو ركّب صفحة كاملة من هذا العنصر وغيره →
البرومبت بالإنجليزية لأنها الأدق مع Claude Code وأمثاله.