Skip to content
PackiyTools

RTL product-layout preview

Right-to-left copy breaks table or number layout. Isolated RTL preview and scoped style proposals; verify in your theme before shipping.

Paste a product HTML snippet (title, price, size table). Toggle an isolated dir="rtl" preview and copy scoped CSS that keeps the container RTL while optionally isolating numbers with unicode-bidi. Preview aid only — Packiy isolates RTL direction for a pasted product HTML snippet and proposes scoped CSS. Verify final layout in your theme and storefront locales before shipping.

Product HTML

Persisted under packiy.rtl-layout-preview.v1 (loading…).

Layout findings

  • Paste a product HTML snippet to preview RTL layout and scoped CSS.

Tables: 0 · Number tokens: 0 · Existing dir: none

Isolated preview

dir="rtl" · .packiy-rtl-preview

Sandboxed in a Packiy scope class — not your live theme. Scripts in pasted HTML are not executed as app code; still treat untrusted markup carefully.

Preview appears here after paste.

Numbers wrapped with .packiy-ltr-num + dir="ltr" when the isolate option is on.

Scoped style proposal

<style>
/* T305 Packiy — scoped RTL product preview (verify in theme) */
.packiy-rtl-preview[dir="rtl"] {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

.packiy-rtl-preview[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

/* Keep prices, sizes, and SKUs visually LTR inside RTL copy */
.packiy-rtl-preview[dir="rtl"] .packiy-ltr-num,
.packiy-rtl-preview[dir="rtl"] [data-ltr-num] {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

.packiy-rtl-preview[dir="rtl"] table {
  direction: rtl;
  unicode-bidi: isolate;
}
.packiy-rtl-preview[dir="rtl"] th,
.packiy-rtl-preview[dir="rtl"] td {
  text-align: start;
}
.packiy-rtl-preview[dir="rtl"] table .packiy-ltr-num,
.packiy-rtl-preview[dir="rtl"] table [data-ltr-num] {
  direction: ltr;
  unicode-bidi: isolate;
}
</style>
<div class="packiy-rtl-preview" dir="rtl">

</div>

Preview aid only — Packiy isolates RTL direction for a pasted product HTML snippet and proposes scoped CSS. Verify final layout in your theme and storefront locales before shipping. Storage key packiy.rtl-layout-preview.v1.