
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.
@stepperize/react
Advanced tools
The library for building step-by-step workflows for web and mobile apps
A powerful, lightweight library for creating step-by-step workflows in React applications.
npm i @stepperize/react
import { defineStepper } from "@stepperize/react";
const { Scoped, useStepper, steps } = defineStepper(
{ id: "step-1", title: "Step 1", description: "Description 1" },
{ id: "step-2", title: "Step 2", description: "Description 2" },
{ id: "step-3", title: "Step 3", description: "Description 3" },
{ id: "step-4", title: "Step 4", description: "Description 4" }
);
function MyComponent() {
const { currentStep, nextStep, prevStep } = useStepper();
return (
<div>
<h2>{currentStep.title}</h2>
<p>{currentStep.description}</p>
<button onClick={prevStep}>Previous</button>
<button onClick={nextStep}>Next</button>
</div>
);
}
Stepperize allows you to define a series of steps with unique IDs. The defineStepper
function returns:
Scoped
: A Provider component to wrap your stepperuseStepper
: A hook to access and control the current stepsteps
: An array of the defined stepsFor detailed usage instructions and API reference, visit our documentation.
We welcome contributions! Please open an issue or submit a pull request on our GitHub repository.
Stepperize is licensed under the MIT License. See the LICENSE file for details.
FAQs
The library for building step-by-step workflows for React and React Native apps
The npm package @stepperize/react receives a total of 22,712 weekly downloads. As such, @stepperize/react popularity was classified as popular.
We found that @stepperize/react demonstrated a healthy version release cadence and project activity because the last version was released less than 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.