rtl-css
CommunityTurn RTL UI issues into flawless layouts.
Authordvorkinguy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
RTL CSS for Hebrew and Arabic. Use when building UI that needs RTL support, fixing RTL layout issues, or auditing CSS for RTL compliance.
Core Features & Use Cases
- Audit RTL compliance: identify physical properties and replace with logical properties (padding-left → padding-inline-start, padding-right → padding-inline-end, etc.)
- Property mapping guide: mapping table for paddings, margins, insets, text direction, and borders using logical properties
- Tailwind compatibility: examples mapping to ps-/pe- and text-start/text-end
- Icon flipping guidance: ensure directional icons flip correctly in RTL contexts
- Audit command: run the included audit script to detect RTL violations
Quick Start
Run scripts/audit_rtl.sh to scan your codebase for RTL violations and update CSS to use logical properties. Follow the mapping guidance to replace physical properties with their logical equivalents.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rtl-css Download link: https://github.com/dvorkinguy/claude-skills-agents/archive/main.zip#rtl-css Please download this .zip file, extract it, and install it in the .claude/skills/ directory.