Skip to content
Product and web UIguide

How to space icons correctly in right-to-left layouts

By SkeuDesign Editorial Team1 min read

Answer in brief

Use logical margin properties for space tied to reading direction. Keep the spacing decision separate from whether the drawing itself should face the opposite way.

Check a label in both directions

Place an icon before the text in document order and apply margin-inline-end to the icon. Set dir="rtl" on the containing example and inspect the gap with a real translated label.

Check direction changes within a row

A right-to-left account screen may contain an English filename. Place the directional spacing on the icon or row that follows the interface direction, and isolate the filename direction separately. Otherwise a language change inside the label can appear to move the gap to the outer edge of the row.

Sources

  1. [1] margin-inline-end CSS property - CSS — MDN Web Docs, accessed November 23, 2026

Frequently asked questions

Should every icon be mirrored for RTL?

Direction can change the meaning of an arrow. An object such as a camera can usually keep its original orientation. Check what the drawing communicates.