
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@stepperize/react
Advanced tools
The library for building step-by-step workflows for React and React Native apps
A library for creating step-by-step workflows in your apps
npm install @stepperize/react
import { defineStepper } from "@stepperize/react";
const { Scoped, useStepper, steps } = defineStepper(
{ id: "step-1", title: "Step 1", description: "Description for step 1" },
{ id: "step-2", title: "Step 2", description: "Description for step 2" },
{ id: "step-3", title: "Step 3", description: "Description for step 3" },
{ id: "step-4", title: "Step 4", description: "Description for step 4" }
);
function StepperComponent() {
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. When you create your steps using defineStepper
, you get:
Scoped
component for context managementuseStepper
hook for step controlsteps
for renderingutils
object with useful functionsThe only required field for each step is the id
. You can add any additional properties you need, and they'll be fully type-safe when using the hook.
For more detailed information on usage, configuration, and advanced features, visit our full documentation.
We welcome contributions! Please see our Contributing Guide for more details.
Stepperize is MIT licensed.
FAQs
The library for building step-by-step workflows for React and React Native apps
The npm package @stepperize/react receives a total of 17,851 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.