mui / mui/material-ui

[system] Add support & usage of CSS logical properties

Open
#32,198 2 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: system type: new feature
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Duplicates
  • I have searched the existing issues
Latest version
  • I have tested the latest version
Summary 💡

It would be great if MUI / MUI next would support and switch internally to CSS logical properties. This would make the RTL plugin unnecessary, reduce code that handles direction and sync with functionality of modern frameworks (like Chakra-UI)

Examples 🌈
paddingInlineStart: 4
Motivation 🔦

Instead of using an RTL plugin, that has to provide transpiled css properties, it would be great to use CSS properties that change direction based on direction automatically. This is possible with CSS Logical properties in all modern browsers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing MUI's current RTL plugin usage and the CSS Logical Properties guidance linked in the issue, including MDN and the W3C draft. Define the affected styling areas and tests before implementation; done means MUI can use logical properties internally without requiring the RTL plugin.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript, react
Domain
frontend, internationalization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.