Installation
npm i react-stages --save
or
yarn add react-stages
And than import the components:
import { Stages, Form } from "react-stages";
Stages comes with a bunch of example components which can be useful if you try it out first time. The imports than look like this:
import {
Stages, // This is the main wizard component
Form, // The main form component, usually used in wizard steps
Actions, // The form actions, like next, prev and submit
Navigation, // An example wizard navigation
Progression, // An example wizard progression
HashRouter, // The default hash router for the wizard
plainFields as fields // Very basic plain form fields
} from "react-stages";