
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
@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 16,155 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.