
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@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,818 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
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.