Breadcrumbs
مسار التنقّلaria-current="page"
also calledbreadcrumb trail، breadcrumb navigation، path bar، location trail، فتات الخبز، شريط المسار، مسار الصفحة، دليل التسلسل، خط السير
Breadcrumbs are a row of links that show where the current page sits in the site tree, from the root down to the page you are on. The last item is the current page itself: usually not a link, and marked with aria-current="page". The trail mirrors the site hierarchy, not the visitor's browsing history; a list of previously visited pages is a history trail, not a breadcrumb. It is not a stepper: steps are a journey with a beginning, an end, and a time order. It is not tabs, which are peers at the same level, and not pagination, which moves between equal slices of one collection.
If you called it…
Live specimen
Interact with the demo. Every part is real and numbered.
Anatomy: every part, named
Hover a row to locate it in the demo above.
Build prompt
How it behaves right-to-left
This section is ours alone.
Trail direction
mirrorsThe whole trail mirrors: the root starts at the right and the current page ends at the left. Do not space items with margin-right. Use gap or margin-inline-start so one rule serves both directions.
The chevron separator
mirrorsThe most common bug in an Arabic breadcrumb is the chevron. A literal › character will not flip on its own and ends up pointing the wrong way. Fix it with an SVG icon plus transform: scaleX(-1) under [dir="rtl"], or pick a direction-neutral separator such as / or ·.
Latin names inside an Arabic trail
never mirrorsThe bidi algorithm reorders a trail like "الرئيسية / لوحة التحكم / users / admin-panel" on screen. Wrap every Latin segment in <bdi>, or in a span with dir="ltr" and unicode-bidi: isolate. The same applies to IDs and numbers such as #1042.
Collapsing and truncation
mirrorstext-overflow: ellipsis cuts at the logical end, which in Arabic is the left edge. That part is correct by default. A hard-coded padding-left/right will look lopsided once the page flips, so use padding-inline.
In code
Each row is one framework's word for the same thing. Take the row your project speaks.
See also
Updated · 2026-08-19