Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.