Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Arabic RTL UI

    1

    Implement native-quality Arabic RTL interfaces with correct Bidi isolation, logical layouts, and specialized typography.

    Free

    Security scanned
    Arabic RTL UI

    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 Arabic font 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 lang and dir attributes to ensure proper font shaping and screen reader behavior.
    • Logical layout conversion swaps hardcoded directional styles for logical properties like margin-inline-start and inset-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-height and font-size for 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

    1. Initial Audit: Review your existing HTML and CSS for hardcoded left/right properties and missing document-level RTL attributes.
    2. Structural Correction: Move directional controls to the html tag and replace physical properties with logical equivalents.
    3. Typography and Scaling: Inject Arabic-first font families and increase vertical spacing to prevent glyph clipping.
    4. Bidi and Input Fixes: Wrap technical tokens in <bdi> tags and apply dir="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.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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 forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Write Files

    File Scopes

    **/*.css
    **/*.html
    Listed7 days ago

    What's inside

    Frequently Asked Questions

    While many tools simply mirror the layout, this skill uses logical CSS properties and Bidi isolation to ensure mixed-language strings—like emails or code snippets—don't flip backwards or break the sentence flow.

    The skill is framework-agnostic and works with any stack that uses HTML/CSS, including React, Next.js, and Tailwind, by leveraging modern logical properties and the Intl API.

    No, this skill focuses exclusively on the technical implementation of RTL layouts, font rendering, and UI behavior; you will need to provide your own translated strings.

    The purchase includes the complete logic for document-level orchestration, logical property mapping, typography optimization for Arabic scripts, and specific handling for Bidi (bidirectional) content isolation.

    Yes, it identifies which UI elements (like back arrows) should be mirrored and which (like brand logos or media controls) must remain in their original orientation to maintain UX standards.

    This skill is designed for any AI agent capable of modifying codebases or generating frontend components, helping it apply 'RTL-first' principles rather than generic layout styles.

    New in Frontend & Web Apps