Skip to content

moathmushtaha/element-plus-rtl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Element Plus RTL

A CSS configuration file that enables Right-to-Left (RTL) support for the Element Plus Vue 3 component library. This is a utility for developers building Arabic, Hebrew, or other RTL-language web applications using Element Plus.

πŸš€ What It Does

  • Provides a ready-to-use index.rtl.css file that overrides Element Plus default styles for RTL layouts
    • Enables proper RTL text direction, alignment, and mirroring of UI components
      • Drop-in solution for Vue 3 apps that need RTL support without writing custom CSS overrides

      • πŸ›  Tech Stack

      • | Technology | Usage |

      • |---|---|

      • | Vue 3 | Target framework |

      • | Element Plus | UI component library |

      • | CSS | RTL override styles |

      • πŸ“¦ Languages

        • CSS 100%

        • βš™οΈ Usage

        • Include the index.rtl.css file in your Vue 3 project after importing Element Plus styles:

        • <!-- In your main HTML or main.ts -->
          <link rel="stylesheet" href="path/to/element-plus/dist/index.css" />
          <link rel="stylesheet" href="path/to/element-plus-rtl/index.rtl.css" />

          Or in your main.ts / main.js:

          import 'element-plus/dist/index.css'
          import 'element-plus-rtl/index.rtl.css' // RTL overrides

          Then set your app direction to RTL:

          <html dir="rtl" lang="ar">

          πŸ’‘ Skills Demonstrated

          • RTL web development β€” understanding of bidirectional text and layout mirroring
            • CSS override techniques β€” targeted override of third-party library styles
              • Internationalization (i18n) β€” supporting Arabic/Hebrew/Farsi interfaces
                • Vue 3 ecosystem β€” familiarity with Element Plus and Vue 3 project structure
                  • Open-source contribution mindset β€” creating reusable utilities for the community

                  • πŸ‘€ Author

                  • Moath A. Mushtaha

About

element plus rtl

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors