Sweet Form Wizard For React

A module to handle with Form Wizards in ReactJS applications easier.


  •  Full Typescript support: It embraces Typescript for real! It accepts interfaces and types as generics for their data structures and more!
  •  Better Developer Experience (DX): It enforces some conventions in order to make sure we got you covered! Issues with things such as specific components that needs to be used, which component is incorrect and context that needs to be used as wrapper will be raised straightaway on development environment.
  • Covers different usage and scenarios: It covers simple usage, but also covers scenarios when you have steps being added dinamically, specific validation steps that needs to be added, data structures that should be passed on, etc. The sky is the limit here!
  •  No external dependencies: And that’s exactly what you read. This is a zero-dependencies package, so you can integrate with Material-UI, Chakra-UI or any other Design System you might be using – including your own. Feel free to integrate with your workflow as you wish
  • Small bundle: All of that in only 1.58KB

How to use it:

1. Install and import the Sweet Wizard.

# Yarn
$ yarn add react-sweet-wizard

$ npm i react-sweet-wizard
import {
} from 'react-sweet-wizard';

2. Basic usage.

const Progress = () => {
  const { activeStepIndex, steps } = useWizardContext();
  return (
      State {activeStepIndex + 1} of {steps.length}
const WizardSteps = () => (
    <Step key="0" id="0">
        <p>step 1</p>
    <Step key="1" id="1">
        <p>step 2</p>
const App = () => (
    <Progress />
    <WizardSteps />
export default App;


Sweet Form Wizard For React

Download Details:

Author: willmendesneto

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/willmendesneto/react-sweet-wizard#demo

License: MIT

Add Comment