A library for creating step-by-step workflows in your apps
Stepperize is a lightweight library designed for creating step-by-step workflows within applications. Boasting fast and efficient performance, this library offers powerful and flexible features while keeping its footprint lightweight at under 1kB when gzipped. Stepperize provides a composable architecture that is fully typesafe, allowing for maximum customization without any styling.
To install Stepperize, follow these steps:
Import the Stepperize constructor:
import { Stepperize } from 'stepperize';
Define your steps using the defineStepper function:
const steps = defineStepper([
{ id: 'step1', ... },
{ id: 'step2', ... },
// Add more steps as needed
]);
Integrate the useStepper hook in your components:
const { activeStep, prevStep, nextStep } = useStepper(steps);
Stepperize is a versatile library that simplifies the creation of step-by-step workflows in applications. With its lightweight yet powerful feature set, including fast performance, flexibility, and type safety, Stepperize offers a seamless workflow creation experience. Its composable architecture and unstyled nature provide developers with the flexibility to tailor workflows to their specific needs while ensuring efficient and responsive performance.