Gathering detailed insights and metrics for stylis-plugin-rtl
Gathering detailed insights and metrics for stylis-plugin-rtl
Gathering detailed insights and metrics for stylis-plugin-rtl
Gathering detailed insights and metrics for stylis-plugin-rtl
stylis-rtl
Stylis RTL plugin based on CSSJanus
@mwvalen/stylis-plugin-rtl
Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL
@mui/stylis-plugin-rtl
A plugin for Material UI that provides RTL (right-to-left) support.
stylis-rtlcss
tiny styled-components plugin converts LTR to RTL, based on RTLCSS
npm install stylis-plugin-rtl
Typescript
Module System
TypeScript (99.15%)
JavaScript (0.85%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
36 Stars
37 Commits
19 Forks
1 Watchers
4 Branches
99 Contributors
Updated on Feb 11, 2025
Latest Version
2.1.1
Package Id
stylis-plugin-rtl@2.1.1
Unpacked Size
12.24 kB
Size
3.88 kB
File Count
14
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
7
Stylis RTL plugin based on CSSJanus
NOTE! Use v1 of this plugin for styled-components v5, NOT v2 (v2 is for libraries that have upgraded to stylis v4, which s-c has not yet. At the moment only emotion 11 is updated.)
1yarn add stylis-plugin-rtl@^1
1yarn add stylis-plugin-rtl stylis
1import styled, { StyleSheetManager } from "styled-components"; 2import rtlPlugin from "stylis-plugin-rtl"; 3 4const Box = styled.div` 5 padding-left: 10px; 6`; 7 8function MakeItRTL() { 9 return ( 10 <StyleSheetManager stylisPlugins={[rtlPlugin]}> 11 <Box>My padding will be on the right!</Box> 12 </StyleSheetManager> 13 ); 14}
Because minification removes all comments from your CSS before it passes to <StyleSheetManager>
, /* @noflip */
comment won't work.
You will have to either:
/*! @noflip */
, to prevent it from being removedminify
to false
in .babelrc
(see styled-components documentation).This is a fork of stylis-rtl
for use with styled-components v5+
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 7/28 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More