
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-persian-input
Advanced tools
Outline text input for right to left language like Persian ,Arabic and ...
Full customizable outlined text input for right to left languages.
Open a Terminal in your project's folder and run:
npm i react-persian-input
...
import {useState} from "react"
import FaInput from "react-persian-input"
const App = () => {
...
const [inputValue,setInputValue] = useState("")
const handleInputChange = (e) => {
setInputValue(e.target.value)
}
return(
...
<FaInput label="نام" value={inputValue} onInputChange={handleInputChange}/>
)
}
| Prop | Description | Type:DefaultValue |
|---|---|---|
label | label of input | string |
width | width of input | string |
rtl | input text direction | bool:false |
value | value of text input | string |
labelStyle | style of label when it's not on focus | object |
labelOnFocusStyle | style of label when it's on focus | object |
borderStyle | style of border when it's not on focus | object |
borderOnFocusStyle | style of border when it's on focus | object |
inputStyle | Style of input | object |
moveLabelTop | move label to top when on focus (use negative number for move bottom) | string:25px |
moveLabelRight | move label to right when on focus (use negative number for move left) | string:10px |
scaleLabel | scale label when of focus | string: .94 |
FAQs
Outline text input for right to left language like Persian ,Arabic and ...
We found that react-persian-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.