هل تعلم؟dyk.si

مسار التنقّل Breadcrumbs

سطر روابط يبيّن أين أنت في الموقع، من الرئيسية حتى الصفحة الحالية.

<nav aria-label="Breadcrumb"> + <ol>

متى تستخدمه

في المواقع التي تحوي أقساماً داخل أقسام، مثل المتاجر والتوثيق.

خطأ شائع

لا حاجة إليه في المواقع ذات المستوى الواحد.

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

Mark the last item with aria-current="page" and leave it unlinked.

اسمه في الكود

HTML/CSS<nav aria-label="Breadcrumb"> + <ol>
React<Breadcrumb>
Jetpack ComposeCustom Row (no built-in)
SwiftUICustom HStack (no built-in)

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

Add a Breadcrumbs to this screen. What it is: A trail of links showing where you are, from home down to the current page. Implement with: <nav aria-label="Breadcrumb"> + <ol> (HTML/CSS). Accessibility: Mark the last item with aria-current="page" and leave it unlinked. When to use it: On sites with nested sections, like stores and documentation. Avoid: They add nothing on a flat, single-level site. Reuse the project's existing design tokens, spacing and component conventions.

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

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