- Home
- Skills
- Frontend & Web Apps
- Arabic RTL UI
Works with the AI Agents you already use
Arabic RTL UI
Implement native-quality Arabic RTL interfaces with correct Bidi isolation, logical layouts, and specialized typography.
Free
Arabic RTL UI
Example session with this skill installed
Fix the RTL alignment for this dashboard header: it has a search input for repo paths, a 'Next' arrow icon, and the text 'Welcome to Kiro-404/system'. Use the provided dark palette.
- Read your context and instructions
- Compiled the arabic rtl ui
I have updated the dashboard header to support native Arabic RTL behavior. The layout now uses logical properties, handles mixed technical strings correctly, and applies the high-contrast dark palette optimized for Arabic glyph density.
Dashboard Header RTL Implementation
<!-- Document level setup -->
<html lang="ar" dir="rtl">
<!-- Header Component -->
<header style="
display: flex;
align-items: center;
justify-content: space-between;
padding-inline: 1rem;
background-color: #1F1F1F;
border-bottom: 1px solid #2B2B2B;
font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
line-height: 1.7;
">
<div class="user-greeting">
<span style="color: #CCCCCC;">أهلاً بك في </span>
<!-- Isolate technical repo path to prevent reordering -->
<bdi style="color: #0078D4; unicode-bidi: isolate;">Kiro-404/system</bdi>
</div>
<div class="actions" style="display: flex; gap: 1rem; align-items: center;">
<!-- dir="auto" ensures paths typed in search don't flip incorrectly -->
<input
type="text"
dir="auto"
placeholder="بحث..."
style="background: #313131; color: #CCCCCC; border: 1px solid #2B2B2B; padding: 0.5rem;"
/>
<!-- Directional icon flipped for RTL -->
<button style="display: flex; align-items: center; color: #0078D4;">
<span>التالي</span>
<svg class="icon-directional" style="transform: scaleX(-1); margin-inline-start: 0.5rem;" width="16" height="16" viewBox="0 0 16 16">
<path d="M6 12l4-4-4-4" fill="none" stroke="currentColor" stroke-width="2"/>
</svg>
</button>
</div>
</header>
Next steps
- Verify the search input behavior by typing a URL containing forward slashes to ensure
dir="auto"preserves the path order. - Test the header on a 320px mobile viewport to check if the repo name string requires a 2-line clamp.
- Confirm the
IBM Plex Sans Arabicfont is correctly loaded in your global CSS.
Connects securely to your tools. The creator never sees your data.
About this skill
Building for the MENA region requires more than just mirroring a CSS file. Standard RTL implementations often break with mixed strings, dense typography, and incorrect document-level attributes that ruin screen reader accessibility. This skill ensures your Arabic interfaces are native, readable, and technically sound.
What it does
- Document orchestration correctly sets
langanddirattributes to ensure proper font shaping and screen reader behavior. - Logical layout conversion swaps hardcoded directional styles for logical properties like
margin-inline-startandinset-inline-end. - Bidi isolation prevents mixed-language strings (like paths, emails, and repo names) from reordering and breaking sentence structure.
- Typography optimization implements specialized Arabic font stacks and adjusts
line-heightandfont-sizefor cursive script density. - Icon and asset auditing identifies which UI elements need mirroring (arrows, progress bars) and which must remain fixed (clocks, logos).
How it works
- Initial Audit: Review your existing HTML and CSS for hardcoded
left/rightproperties and missing document-level RTL attributes. - Structural Correction: Move directional controls to the
htmltag and replace physical properties with logical equivalents. - Typography and Scaling: Inject Arabic-first font families and increase vertical spacing to prevent glyph clipping.
- Bidi and Input Fixes: Wrap technical tokens in
<bdi>tags and applydir="auto"to user-facing inputs to handle mixed content correctly.
Frameworks & tools
Works with any web stack including React, Next.js, Tailwind CSS, and vanilla HTML/CSS. Uses logical CSS properties and the Intl JavaScript API for number and date formatting.
Why this beats prompting it yourself
Generic prompts often suggest simple mirroring or row-reverse hacks that break tab order and accessibility. This skill applies a specific hierarchy of fixes, from document-level attributes to Unicode isolation, ensuring technical strings like file paths remain legible within Arabic sentences.
Use cases
- Dashboard localization to ensure data tables and charts read correctly for Arabic users.
- Chat and social UI where user-generated mixed-script content causes layout flipping.
- E-commerce forms that require specific digit formatting and RTL input behavior.
- Typography audits to fix clipped descenders and broken cursive joins in Arabic fonts.
Known limitations
Does not perform translation of text strings. Layout verification requires a running app to catch visual regressions caused by DPI scaling or 320px viewport constraints.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.
Requires manual visual verification for DPI scaling and mobile viewport wrapping. Does not provide text translation services. Layout fixes assume a modern browser supporting CSS logical properties.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 7 days ago
- Free with an Agensi account
Requires
Nothing to install.
Permissions
File Scopes