Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
material-ui-password-field
Advanced tools
This project provides a password field for Material-UI.
If you want to try the component yourself instead of watching a gif, head over to the storybook for a live demo!
npm i --save material-ui-password-field
The usage of this component is pretty straightforward: Just replace your boring password TextField
s with the shiny new PasswordField
and you're done.
import PasswordField from 'material-ui-password-field'
<PasswordField
hintText="At least 8 characters"
floatingLabelText="Enter your password"
errorText="Your password is too short"
/>
Name | Type | Default | Description |
---|---|---|---|
disableButton | bool | false | Set this to true to disable the visibility button. |
visible | bool | false | Set this to true to make the password initially visible. |
style | object | Override the inline-styles of the root element. | |
textFieldStyle | object | Override the inline-styles of the TextField element. |
Additionally, all properties of Material UI's Text Field should be supported, except for type
and multiLine
. Please open an issue if something is missing or does not work as expected.
Some code for the input component was adapted from Material UI's Text Field that we all know and love.
The files included in this repository are licensed under the MIT license.
FAQs
A password field using Material-UI.
The npm package material-ui-password-field receives a total of 505 weekly downloads. As such, material-ui-password-field popularity was classified as not popular.
We found that material-ui-password-field demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.