Skip to content

jamesbutt723/react-multistep

 
 

Repository files navigation

Responsive React multistep form component

Try it here

NPM Known Vulnerabilities

React 16.3.1 - Babel 6.23.0

Example uses Browserify 16.1.1 (Webpack, Parcel versions soon)

Instructions

To install this module run:

npm install react-multistep

next, require it inside of your app:

var Multistep = require('react-multistep').Multistep

Configuration:

showNavigation 
type: boolean (default = true)
steps 
type: array of objects pointing to React components

Example:

const steps = [
              {name: 'StepOne', component: <StepOne/>},
              {name: 'StepTwo', component: <StepTwo/>},
              {name: 'StepThree', component: <StepThree/>},
              {name: 'StepFour', component: <StepFour/>}
            ];
<Multistep showNavigation={true} steps={steps}/>

To build included example:

npm run build

Now open ./example/index.html in your favorite browser

Dev instructions

First clone the repository and then run:

npm install

To test run:

npm test

About

React multistep form component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 51.4%
  • CSS 44.9%
  • HTML 3.7%