
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
stepper-component
Advanced tools
A simple react component to show to number of steps and current step the user is in. Very easy to use and simple to integrate
#React Stepper Component
A simple react component to show to number of steps and current step the user is in. Very easy to use and simple to integrate
import React, { Component } from 'react';
import Stepper from 'stepper-component'
class App extends Component {
render() {
return (
<div>
<Stepper steps={4}
currentStep={3}/>
</div>
);
}
}
export default App;
The following is a list of optional props that stepper-component accepts
Name | Description | Example |
---|---|---|
steps | number of steps | steps={3} |
currentStep | current step | currentSteps={3} |
px | container horizontal padding (in px) | px={16} |
py | container vertical padding (in px) | py={12} |
size | each circle size ( height & width ) (in px) | size={20} |
lineWidth | horizontal line's width (in px) | px={16} |
###Usescase
<Stepper
steps={4}
currentStep={3}
px={16}
py={12}
size={20}
lineWidth={30}/>
FAQs
A simple react component to show to number of steps and current step the user is in. Very easy to use and simple to integrate
The npm package stepper-component receives a total of 0 weekly downloads. As such, stepper-component popularity was classified as not popular.
We found that stepper-component 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.