
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
react-material-ui-step-loader
Advanced tools
Stepped Progress react component using material-ui
npm install react-material-ui-step-loader
import { StepLoader } from 'react-material-ui-step-loader';
const steps = [
{ label: 'Authenticating', labelAfter: 'Authenticated' },
{ label: 'Checking updates', labelAfter: 'Updated', labelError: 'No update found' },
{ label: 'Formatting message', labelAfter: 'Message formatted', labelSkip: 'Already formatted' },
{ label: 'Posting message', labelAfter: 'Message posted' },
{ label: 'Verifying', labelAfter: 'Verified' },
];
// ...
<StepLoader
steps={steps}
currentStep={2}
currentProgress={75}
/>
Stepped LinearProgress component using material-ui
| Property | Type | Required | Default value | Description |
|---|---|---|---|---|
| steps | arrayOf | yes | An array of 'step' object with the following shape (label:string, [labelAfter:string],[labelSkip:string],[labelError:string],[color:string "primary"|"secondary"]). | |
| currentStep | number | yes | The current step. | |
| height | number | no | 2 | The LinearProgress height. |
| color | enum | no | The color of the progress bars. | |
| variant | enum | no | The variant type for the LinearProgress outline. 'square' | 'rounded' | 'round' | |
| currentProgress | number | no | -1 | The current progress [0-100] of the current step. If ommited the LinearProgress will use the 'undeterminate' variant. |
| errors | arrayOf | no | An array of int representing the failed steps. | |
| skips | arrayOf | no | An array of int representing the skipped steps. |
You should use YARN for development as NPM seems to be causing some issues! (Using NPM for just installing and using as a component is OK)
yarn start for live-testing the demo appyarn storybook for live-testing the storybook appyarn github-page for testing a temporary build of the full github-page without an possible theme that you will choose later on GitHub (no live-testing)yarn generate-readmeWill generate a readme according to your package.json info and the following files :
npm i YOUR_PACKAGE_NAME)You can then edit your readme.md file if you need to before building/publishing/deploying
yarn publishWill transpile and publish to npm, it will prompt you the version incrementing.
yarn buildWill build the static demo and storybook apps for prod into the build folder
yarn deploy-github-pageWill deploy the built apps from 'build' folder to the 'gh-pages' github branch
yarn build-and-deploy This helper script will call all the scripts for a complete GitHub building and deploying (yarn build && yarn deploy-github-page)yarn publish-build-and-deploy This helper script will call all the scripts for a complete NPM and GitHub transpiling/building and publishing/deploying (yarn publish && yarn build-and-deploy)You should then commit and push sources on GitHub the usual way.
This document was generated by the Create React Readme v1.0.7.
FAQs
Stepped Progress react component using material-ui
We found that react-material-ui-step-loader 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.